Skip to content

Commit ae4b404

Browse files
committed
Complete ls-grep script-03.sh exercise
1 parent f479137 commit ae4b404

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@ 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+
8+
ls -1 sample-files | grep '^[A-Z][^A-Z]*$'

0 commit comments

Comments
 (0)