====== Shell: remove comments and blank lines ====== \\ cat file.txt | egrep -v '^s*(#|$)' or cat file.txt | grep -Ev '(#.*$)|(^$)' ---\\ return to gimbo wiki [[:start|home page]]~~NOCACHE~~