sed:delete:delete_blank_lines
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
sed:delete:delete_blank_lines [2020/08/16 11:12] – created 192.168.1.1 | sed:delete:delete_blank_lines [2020/08/17 09:23] (current) – 192.168.1.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== SED - Delete - Delete blank lines ====== | ====== SED - Delete - Delete blank lines ====== | ||
+ | |||
+ | Same as "grep ' | ||
<code bash> | <code bash> | ||
- | sed '/ | + | sed '/ |
+ | sed '/ | ||
</ | </ | ||
Line 26: | Line 29: | ||
</ | </ | ||
+ | ---- | ||
+ | ===== Example ===== | ||
+ | <code bash> | ||
+ | cat input.txt | sed '/ | ||
+ | </ | ||
sed/delete/delete_blank_lines.1597576329.txt.gz · Last modified: 2020/08/16 11:12 by 192.168.1.1