From: Roger Pack Date: 2009-07-19T06:39:16+09:00 Subject: Re: How to identify unpaired files in a list > Perhaps nested hashes. Oops I meant hashes of arrays, i.e. final data structure: {'abcd0001' => ['abcd0001.txt', 'abcd0001.bak.txt'], 'abcd0003' => ['abcd0003']} then iterate through looking for arrays with length 1 only. GL. =r filename[' -- Posted via http://www.ruby-forum.com/.