Skip to content

Commit d05f0a0

Browse files
committed
Remove accidental individual-shell-tools changes
1 parent 689f854 commit d05f0a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shell-pipelines/ls-grep/script-04.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ set -euo pipefail
55
# TODO: Write a command to count the number of files in the sample-files directory whose name starts with an upper case letter and doesn't contain any other upper case letters.
66
# Your output should be the number 7.
77

8-
ls sample-files | grep "^[A-Z][^A-Z]*$" |wc -l
8+
ls sample-files | grep -c "^[A-Z][^A-Z]*$"

0 commit comments

Comments
 (0)