From 81eed27447202383645599fab39242e546c3a4a7 Mon Sep 17 00:00:00 2001 From: pks Date: Sat, 11 Jun 2022 16:07:22 +0200 Subject: duplicates: sort --- duplicates | 1 + 1 file changed, 1 insertion(+) (limited to 'duplicates') diff --git a/duplicates b/duplicates index 860490c..c75194c 100755 --- a/duplicates +++ b/duplicates @@ -24,6 +24,7 @@ a.each { |fn| } h.each { |k,v| + v.sort! if v.size > 1 puts k v.each { |i| puts "\t#{i}" } -- cgit v1.2.3