The Road to Elysium

October 28, 2008

Remove comments and empty lines with grep

Filed under: Snippets — jorge @ 12:39
$ grep -v -e ^# -e ^$ file.txt

1 Comment »

  1. Great, ty :))

    Comment by xhuli — May 18, 2010 @ 10:43

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress