In a message to Jack Stein, Holger Granholm wrote re: Warp 3 install
AR> I was looking for a quick way to add blank spaces for a left
AR> margin.
JS>I use GAWK or SED.
JS>GAWK '{print " "$0}' file.txt >lpt1
[clip...]
JS>Look for:
JS>GAWK304D.ZIP GAWK Documentation (926K)
JS>GAWK304X.ZIP GAWK Text Processing Language for OS/2, DOS and
JS>WIN32. (435K)
HG> Ouch what a space filler on the HD.
Yes, if all you're going to use gawk for is to add a few spaces
to each line before you print. But gawk is much more versatile
than that, and worth having around for a variety of reasons
despite the space it occupies.
Or, you could just get "perl" and do away with both "sed" and
"gawk..."
* KWQ/2 1.2i * Internet: John.Thompson@attglobal.net
--- PCBoard (R) v15.3/M 10
270/101
* Origin: Spare Parts BBS - Appleton WI (920-731-7697) (1:139/0)
|