sort with a tab as separator
Guy Harris
guy at auspex.auspex.com
Fri Aug 24 03:58:58 AEST 1990
>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, 8 not being a
valid octal digit), nor does any other Bourne shell version with which
I'm familiar. The C shells with which I'm familiar don't do so, either.
What sort of shell are you using? Did Pyramid "improve" the shell by
adding this, or are you running some shell "improved" by somebody else?
More information about the Comp.unix.questions
mailing list