Skip to content

Commit f2979c6

Browse files
committed
Complete grep script-06: list files containing Doctor dialogue
1 parent d83623d commit f2979c6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

individual-shell-tools/grep/script-06.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
set -euo pipefail
44

55
# TODO: Write a command to output the name of every `.txt` file in this directory which contains a line of dialogue said by the Doctor.
6+
grep -l "^Doctor:" *.txt
67
# The output should contain two filenames.

0 commit comments

Comments
 (0)