From 74d0c6955e7dba1d10d96aea1ace8fe458a9d0d6 Mon Sep 17 00:00:00 2001 From: Timo Schmidt Date: Wed, 15 Mar 2023 18:48:41 +0100 Subject: [PATCH] Make count_files.sh only list regular files and dirs --- ex03/count_files.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ex03/count_files.sh b/ex03/count_files.sh index a113322..7dd64d2 100755 --- a/ex03/count_files.sh +++ b/ex03/count_files.sh @@ -1,3 +1,3 @@ #!/bin/sh -find . | wc -l +find . -type f -o -type d | wc -l