Multi-character tab problem in sort

2009-08-19 Thread Michael Muratet
Greetings I found a definition in the make file: # The quote marks below contain a tab character SORT_BY_TAB:=sort -T . --field-separator=" " which means it's back to a tab problem which I think I can sort out from the archives. Thanks Mike

Re: multi-character tab

2005-10-27 Thread Bob Proulx
Bob Proulx wrote: > Tim Waugh wrote: > > Bob Proulx wrote: > > > the upstream sources. If you wish to pursue this further you will > > > need to file a bug with your distribution. Or compile your own > > > version from the GNU sources. > > > > FWIW, this seems to have broken in an attempt to get

Re: multi-character tab

2005-10-27 Thread Bob Proulx
Tim Waugh wrote: > Bob Proulx wrote: > > the upstream sources. If you wish to pursue this further you will > > need to file a bug with your distribution. Or compile your own > > version from the GNU sources. > > FWIW, this seems to have broken in an attempt to get sort(1) to > support multi-byte

Re: multi-character tab

2005-10-27 Thread Alex van den Bogaerdt
On Wed, Oct 26, 2005 at 11:17:38PM -0600, Bob Proulx wrote: > Thanks for the additional information. This is not broken in the > upstream sources. It is also not broken in another distribution of > the same version. Therefore I can only deduce that it must be a > problem with a patch applied by

Re: multi-character tab

2005-10-27 Thread Tim Waugh
On Wed, Oct 26, 2005 at 11:17:38PM -0600, Bob Proulx wrote: > the upstream sources. If you wish to pursue this further you will > need to file a bug with your distribution. Or compile your own > version from the GNU sources. FWIW, this seems to have broken in an attempt to get sort(1) to suppor

Re: multi-character tab

2005-10-26 Thread Bob Proulx
Alex van den Bogaerdt wrote: > [EMAIL PROTECTED] tmp]$ printf "one\0two\nabc\0xyz\n" | sort -t "\0" -k2,2 | > tr "\000" " " > sort: multi-character tab `\0' > [EMAIL PROTECTED] tmp]$ sort --version > sort (coreutils) 5.2.1 Thank

Re: multi-character tab

2005-10-26 Thread Alex van den Bogaerdt
sort -t "\0" -k1,1 | tr "\000" " " > abc xyz > one two > sort --version [EMAIL PROTECTED] tmp]$ printf "one\0two\nabc\0xyz\n" | sort -t "\0" -k2,2 | tr "\000" " " sort: multi-character tab `\0' [EMAIL PROTECT

Re: multi-character tab

2005-10-26 Thread Bob Proulx
; $ sort -t '\0' > sort: multi-character tab `\0' > $ Hmm... It works for me. printf "one\0two\nabc\0xyz\n" | sort -t "\0" -k2,2 | tr "\000" " " one two abc xyz printf "one\0two\nabc\0xyz\n" | sort -t "\0

multi-character tab

2005-10-26 Thread Alex van den Bogaerdt
L.S. The documentation of sort has this to say: To specify a zero byte (ASCII NUL (Null) character) as the field separator, use the two-character string `\0', e.g., `sort -t '\0''. Yet, this is what is produced: $ sort -t '\0' sort: multi-charact