From f5d29a9cbc7a37c4603af7016ae3cace3fc7c4a6 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Mon, 5 Sep 2016 14:26:21 -0400 Subject: [PATCH] fixed case for zero files in a dir. --- scripts/files/count_files.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/ /' -- 2.34.1