From: Chris Koeritz Date: Mon, 5 Sep 2016 18:26:21 +0000 (-0400) Subject: fixed case for zero files in a dir. X-Git-Tag: 2.140.90~480 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=f5d29a9cbc7a37c4603af7016ae3cace3fc7c4a6;p=feisty_meow.git fixed case for zero files in a dir. --- diff --git a/scripts/files/count_files.sh b/scripts/files/count_files.sh index 3934e0fb..b70d75f2 100644 --- a/scripts/files/count_files.sh +++ b/scripts/files/count_files.sh @@ -25,6 +25,6 @@ done | # eat the zeroes but keep the tabular look (i.e. replace each leading zero # with a space). had to do it as cases, since this seems like context- # sensitive matching, which sed will not do, i think). - sed -e 's/^000000/ /' -e 's/^00000/ /' -e 's/^0000/ /' \ + sed -e 's/^000000/ 0/' -e 's/^00000/ /' -e 's/^0000/ /' \ -e 's/^000/ /' -e 's/^00/ /' -e 's/^0/ /'