vi and sed questions
der Mouse
mouse at mcgill-vision.UUCP
Sun Sep 17 11:29:03 AEST 1989
In article <4370002 at hpavla.HP.COM>, rowland at hpavla.HP.COM (Fred Rowland) writes:
> sed question
> The file used in the above example [ie, the vi question] is a mail
> list which has to be converted into labels. I add three @ symbols to
> the end of each line, then convert all of them to newlines. I can do
> this in vi but I get substitution overflows as the file grows
> considerably in size. I would prefer to use sed,
I don't know how to do that with sed. But why not just use tr?
"tr @ '\012'" should work fine.
der Mouse
old: mcgill-vision!mouse
new: mouse at larry.mcrcim.mcgill.edu
More information about the Comp.unix.wizards
mailing list