Skip to content

Commit 5380f5b

Browse files
committed
code update for sed folder
1 parent a3315af commit 5380f5b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

individual-shell-tools/sed/script-03.sh

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

55
# TODO: Write a command to output input.txt removing any line which contains a number.
66
# The output should contain 6 lines.
7-
grep -v '[0-9]' input.txt
7+
#grep -v '[0-9]' input.txt
8+
sed '/[0-9]/d' input.txt

0 commit comments

Comments
 (0)