Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!mips!wdl1.wdl.loral.com!wdl1!ed From: ed@lvw6.lvw.loral.com (Ed Allen) Newsgroups: comp.unix.questions Subject: Re: Inserting Blank Line into File (sed/awk/?) Message-ID: Date: 16 Mar 91 04:19:57 GMT References: <807@oss670.UUCP> Sender: news@wdl1.wdl.loral.com Organization: /users/ed/.organization Lines: 11 In-Reply-To: tkevans@oss670.UUCP's message of 15 Mar 91 14:18:19 GMT 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.