From 7bfc9e2e8a91735978aa3156d58d85e3404e655d Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Fri, 24 Apr 2015 19:09:54 -0400 Subject: [PATCH] skipping some common flags i add accidentally, since summing dir has its own format anyhow. --- scripts/files/summing_dir.pl | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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. -- 2.34.1