RosettaCodeData/Task/Shell-one-liner/Sed/shell-one-liner-2.sed

2 lines
49 B
Sed

$ sed -e 's/[[:space:]]*$//' -e '/./!d' file.txt