[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with sort command

From: Philip Rowlands
Subject: Re: Problem with sort command
Date: Mon, 2 Nov 2009 14:52:11 +0000 (GMT)
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)

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:

In short, sort is treating "+1" as a filename. The behaviour changed due to conflicting versions of the relevant standard, and you should rewrite the sort command to use the unambiguous "+kN" format.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]