Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!usc!samsung!munnari.oz.au!metro!pta!mcc!chris From: chris@mcc.oz (Chris Robertson) Newsgroups: comp.unix.questions Subject: Re: sort with a tab as separator Message-ID: <1990Aug30.030811.20853@mcc.oz> Date: 30 Aug 90 03:08:11 GMT References: <1990Aug19.051237.27735@midway.uchicago.edu> <1990Aug22.052738.4487@mcc.pyrsyd.oz> <3947@auspex.auspex.com> Reply-To: chris@mcc.UUCP (Chris Robertson) Organization: MCC Software Group Lines: 17 In article <3947@auspex.auspex.com> guy@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@mcc.oz