Re: Need sed to do something which sounds simple

2009-05-29 Thread Manish Jain
Paul Schmehl wrote: --On Thursday, May 28, 2009 07:48:36 -0500 Manish Jain wrote: Hi, I need sed to do something which sounds simple, but I can't figure out the right command. All I need to do is insert a blank after a '}' at the end of a line if the next line beg

Re: Need sed to do something which sounds simple

2009-05-28 Thread Paul Schmehl
--On Thursday, May 28, 2009 07:48:36 -0500 Manish Jain wrote: Hi, I need sed to do something which sounds simple, but I can't figure out the right command. All I need to do is insert a blank after a '}' at the end of a line if the next line begins immediately afterwards (i.e

Need sed to do something which sounds simple

2009-05-28 Thread Manish Jain
Hi, I need sed to do something which sounds simple, but I can't figure out the right command. All I need to do is insert a blank after a '}' at the end of a line if the next line begins immediately afterwards (i.e. with no blank line between). //abc.cpp : int myclas