Problem with sort command

2009-11-02 Thread Justin White
I have been using the sort command for years with a syntax as follows: cat $file | sort -t, +1 I create filesystems on Linux and AIX from a CSV file and sort by the second column as shown above. Recently I have tried this command on RHEL 5.1 and it fails. So I went and tried on Ubuntu 9.04 and

Re: Problem with sort command

2009-11-02 Thread Philip Rowlands
On Mon, 2 Nov 2009, Justin White wrote: I have been using the sort command for years with a syntax as follows: cat $file | sort -t, +1 This is addressed in the FAQ: http://www.gnu.org/software/coreutils/faq/coreutils-faq.html#Old-tail-plus-N-syntax-now-fails In short, sort is treating +1 as