[Top][All Lists]

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

Re: Coreutils-gotchas

From: Pádraig Brady
Subject: Re: Coreutils-gotchas
Date: Mon, 7 Dec 2015 17:23:54 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

On 07/12/15 16:57, Eric Blake wrote:
> On 11/28/2015 11:34 PM, Assaf Gordon wrote:
>> On 11/29/2015 12:16 AM, Pádraig Brady wrote:
>>>> I must collate some gotchas like this.
>>> Initial list started at:
>> Fantastic list!
> Another common gotcha (at least it is a frequently-reported non-bug):
> When using sort on a particular field, you almost always want '-k1,1',
> not '-k1'.  While sorting from field 1 to the end of the line sometimes
> works (particularly for -n), it is a trap for the novice who doesn't
> realize that -k1,1 is more precise, where the trailing delimiter and
> subsequent fields can't affect the results.



reply via email to

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