Skip to content

Commit f9d2cd5

Browse files
committed
fixed script 3
1 parent 1cb2c0d commit f9d2cd5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ set -euo pipefail
44

55
# TODO: Write a command to output the names of the 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 contain 7 files.
7-
ls sample-files | grep '^[A-Z][a-z]*$'
7+
ls sample-files | grep '^[A-Z][^A-Z]*$'

0 commit comments

Comments
 (0)