rod mclaughlin


How to remove all lines in a file which consist of a single letter (09 sep 21)

zsh

cat file1 | grep -v \^.\$ > file2

mv file2 file1



Back
Portland London