From: Chris Koeritz Date: Fri, 24 Apr 2015 23:09:54 +0000 (-0400) Subject: skipping some common flags i add accidentally, since summing dir has its own format... X-Git-Tag: 2.140.90~645 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=7bfc9e2e8a91735978aa3156d58d85e3404e655d;p=feisty_meow.git skipping some common flags i add accidentally, since summing dir has its own format anyhow. --- diff --git a/scripts/files/summing_dir.pl b/scripts/files/summing_dir.pl index fb32b956..43215cca 100644 --- a/scripts/files/summing_dir.pl +++ b/scripts/files/summing_dir.pl @@ -38,12 +38,15 @@ if ($#ARGV < 0) { } foreach $dir (@arg_list) { + if ($dir == "-al") { next; } # skip ls directives. + if ($dir == "-l") { next; } # skip ls directives. $chewed_line = $chewed_line . " \"$dir\""; } if ("$chewed_line" eq "") { - print "No files matched that path specification.\n"; - exit 0; +# print "No files matched that path specification.\n"; +# exit 0; + $chewed_line = "." } # show the header, now that we know there's something to print.