1 articles tagged "sed delete blank lines"
- sed tip: Remove / Delete All Leading Blank Spaces / Tabs ( whitespace ) From Each Line
The sed (Stream Editor) is very powerful tool. Each line of input is copied into a pattern space. You can run editing commands on each input line to delete or change the input. For example, delete lines containing word DVD, enter:
cat input.txt | sed ‘/DVD/d’
To Print the lines between each pair of words pen and [...]
Viewing 1-1 of 1 posts. ( see all popular tags )


Recent Comments
Today ~ 170 Comments
Today ~ 4 Comments
08/24/2006 01:56 pm ~ 11 Comments
Today ~ 4 Comments
Today ~ 5 Comments