nice mod to sort the files / dirs by name before dumping them.
authorChris Koeritz <fred@gruntose.com>
Sun, 14 Apr 2013 19:46:17 +0000 (15:46 -0400)
committerChris Koeritz <fred@gruntose.com>
Sun, 14 Apr 2013 19:46:17 +0000 (15:46 -0400)
scripts/files/filedump.pl

index 858fdd80e84d2a50ac560e60740b054d31842f21..3fa5b0f30e73b4e770feb456b29a9d8aac792361 100644 (file)
@@ -27,7 +27,7 @@ if ($#ARGV < 0) {
 
 # iterate over the list of files and dump them to standard output.
 
-foreach $filename (&glob_list(@ARGV)) {
+foreach $filename (sort &glob_list(@ARGV)) {
   &do_dump($filename);
 }