summaryrefslogtreecommitdiff
path: root/duplicates
diff options
context:
space:
mode:
authorpks <pks@pks.rocks>2022-06-11 16:07:22 +0200
committerpks <pks@pks.rocks>2022-06-11 16:07:22 +0200
commit81eed27447202383645599fab39242e546c3a4a7 (patch)
tree2c167010af885bb55bb78b9f49e915fb3eca021b /duplicates
parent2883a731e8e700336fb8d6c8590ec450e8ee07bc (diff)
duplicates: sort
Diffstat (limited to 'duplicates')
-rwxr-xr-xduplicates1
1 files changed, 1 insertions, 0 deletions
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}" }