User Tools

Site Tools


quick_grep_tricks

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
quick_grep_tricks [2009/06/04 11:46]
adam
quick_grep_tricks [2009/06/04 11:47]
adam
Line 9: Line 9:
   grep -v "^$" filename   grep -v "^$" filename
  
-^ is the start of line expression and $ is the end of line expression, in this case we are asking for a line containing the line beginning and line ending with nothing in between.+"^ is the start of line expression and $ is the end of line expression, in this case we are asking for a line containing the line beginning and line ending with nothing in between."
quick_grep_tricks.txt ยท Last modified: 2016/11/25 22:38 (external edit)