Thursday, November 30, 2017

Remove Blank Line and Comment by grep

remove blank line:
grep -v -e ^$

remove comment line:
grep -v ^#

ex:
cat filename | grep -v -e ^$ | grep -v ^#

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.

ALCATEL 6900

write memory copy running certified reload from working no rollback-timeout