http://www.foogazi.com/2008/04/12/quickzi-how-to-remove-blank-lines-from-a-file/
.........................
Now, to remove the blank lines in this file, we’ll use sed.# sed -i '/^$/d' example_file
# cat example_file
'TIP' 카테고리의 다른 글
linux port 확인 (0) | 2009.11.09 |
---|---|
Linux : find and replace with grep and sed (0) | 2009.11.06 |
cat /proc/meminfo (0) | 2009.09.03 |
ldd (0) | 2009.09.03 |
linux kill, killall (0) | 2009.08.12 |