[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
mistake in sort -k argument processing?
From: |
Evan Hunt |
Subject: |
mistake in sort -k argument processing? |
Date: |
Fri, 22 Dec 2006 00:04:54 -0800 |
User-agent: |
Mutt/1.5.10i |
Observation:
$ sort -k1.0,2
sort: character offset is zero: invalid field specification `1.0,2'
Now, this seems unnecessary to me; it *could* silently ignore the ".0" and
treat it as if you hadn't specified a character offset. (SCO does that.)
But, regardless, if that *is* going to be an error, then shouldn't this:
$ sort -k1,2.0
...be an error as well? It isn't.
Evan Hunt
- mistake in sort -k argument processing?,
Evan Hunt <=
- Re: mistake in sort -k argument processing?, Andreas Schwab, 2006/12/22
- Re: mistake in sort -k argument processing?, Evan Hunt, 2006/12/22
- Re: mistake in sort -k argument processing?, Andreas Schwab, 2006/12/22
- Re: mistake in sort -k argument processing?, Evan Hunt, 2006/12/22
- Re: mistake in sort -k argument processing?, Andreas Schwab, 2006/12/22
- Re: mistake in sort -k argument processing?, Evan Hunt, 2006/12/22
- Re: mistake in sort -k argument processing?, Jim Meyering, 2006/12/22
- Re: mistake in sort -k argument processing?, Evan Hunt, 2006/12/27