Lines too long for vi and sed

Paul Gillingwater paul at csnz.nz
Mon Aug 1 19:39:13 AEST 1988


In article <7712 at cup.portal.com> compata at cup.portal.com writes:
>Is there a way to replace escape sequences with NLs, wholesale or selectively?
>
>Dave Close, Compata, Arlington, Texas
>compata at cup.portal.com

Wholesale method:

tr -s "\033*" "\012" <file1 >file2

-- 
Paul Gillingwater, Computer Sciences	Call this BBS - Magic Tower (24 hours)
paul at csnz.nz  (vuwcomp!dsiramd!csnz)	NZ +64 4 753 561 8N1 TowerNet software
P.O.Box 929, Wellington, NEW ZEALAND	V21/V23/V22/V22bis/Bell 103/Bell 212A
Vox: +64 4 846194, Fax: +64 4 843924	"All things must parse"-ancient proverb



More information about the Comp.unix.xenix mailing list