Skip to content
My Tech Notes
Just another WordPress site
Menu and widgets
Month:
February 2021
cat a file and remove comments and blank lines
$ cat file.txt | grep -v "#" | grep -v "^$"