[plug] Find similarly named files in directories

Lyndon Maydwell maydwell at gmail.com
Sat Jan 13 13:26:04 WST 2007


hmm, that will teach me for not testing propperly
find|ruby -e 'h={};STDIN.each{|l|l[/.*\/(.*)/];(h[$1]||=[])<<l};
h.each{|k,v| puts v if v.length > 1}'
suddenly bigger



More information about the plug mailing list