From: 7stud -- Date: 2012-09-10T03:48:17+09:00 Subject: Re: Need help with my logic server_group = [ "DK-vk-2.domain.lan", "DK-vh-2.domain.lan", "DK-vm-2.domain.lan" ] #p = `hostname` p = "DK-vk-2.domain.lan" other_two = server_group - [p] p other_two --output:-- ["DK-vh-2.domain.lan", "DK-vm-2.domain.lan"] -- Posted via http://www.ruby-forum.com/.