[Solved] How do you delete all lines that contain no letters from the alphabet using either grep, sed, or awk? [closed]


With GNU grep:

grep '[[:alpha:]]' file

or GNU sed:

sed '/[[:alpha:]]/!d' file

Output:

0hjjAby68xp
H5e

1

solved How do you delete all lines that contain no letters from the alphabet using either grep, sed, or awk? [closed]