Skip to content

Commit 0829c02

Browse files
committed
Complete sed script-03: remove lines containing digits
1 parent b2a6c2d commit 0829c02

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

individual-shell-tools/sed/script-03.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 input.txt removing any line which contains a number.
6+
sed '/[0-9]/d' input.txt
67
# The output should contain 6 lines.

0 commit comments

Comments
 (0)