Inserting Blank Line into File (sed/awk/?)

Ed Allen ed at lvw6.lvw.loral.com
Sat Mar 16 14:19:57 AEST 1991


Now for the 'sed' solution....

sed -n -e '{N;N;p;a\

}' filename

Should work from 'sh', 'csh' is more particular about multi-line
arguments.
--
Never trust a man who wears white shoes.           | Ed Allen
Vote Libertarian...     Scare the Hell out of 'em. | Loral Command & Contr. Sys.



More information about the Comp.unix.questions mailing list