sort with a tab as separator
Chris Robertson
chris at mcc.oz
Thu Aug 30 13:08:11 AEST 1990
In article <3947 at auspex.auspex.com> guy at auspex.auspex.com (Guy Harris) writes:
>>If your shell munges tabs into spaces, try "sort -t'\08'" -- I just
>>tried it successfully on a Pyramid in the AT&T universe. Your
>>mileage may vary, of course.
>
>You bet it will! The vanilla S5 Bourne shell doesn't interpret escape
>sequences such as that except in the "echo" command (and I don't think
>it even interprets one such as yours; try '\011' instead ...
Sorry, brain out to lunch when I wrote this. Not only did I type 8 instead
of 11, but I just checked my test file and it has a typo in it. This
definitely doesn't work. I must admit, I *was* a bit surprised when it
seemed to. So just ignore me while I crawl back into that handy hole in
the wall... :-(
--
"Down in the dumps? I TOLD you you'd | Chris Robertson
need two sets..." | chris at mcc.oz
More information about the Comp.unix.questions
mailing list