changing a ! to a \nC where \n is a newline
Conor P. Cahill
cpcahil at virtech.uucp
Fri Sep 21 09:17:33 AEST 1990
In article <2962 at wyse.wyse.com> bob at wyse.UUCP (Bob McGowen x4312 dept208) writes:
>In article <1990Sep18.023649.1336 at virtech.uucp> cpcahil at virtech.UUCP (Conor P. Cahill) writes:
> >
> >:1,$s/!/<ctrl>-V<Return>C/g (this will appear as:1,$s/!/^MC/g)
> >
>
>This will put carriage returns in the file, not newlines.
Try it. It will put newlines into the file.
--
Conor P. Cahill (703)430-9247 Virtual Technologies, Inc.,
uunet!virtech!cpcahil 46030 Manekin Plaza, Suite 160
Sterling, VA 22170
More information about the Comp.unix.shell
mailing list