GNU bug report logs - #9507
cut bug?

Previous Next

Package: coreutils;

Reported by: James Heather <j.heather <at> surrey.ac.uk>

Date: Wed, 14 Sep 2011 16:44:01 UTC

Severity: normal

Tags: notabug

Merged with 6394, 13301

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: James Heather <j.heather <at> surrey.ac.uk>
To: 9507 <at> debbugs.gnu.org
Subject: bug#9507: cut bug?
Date: Wed, 14 Sep 2011 17:20:20 +0100
[Message part 1 (text/plain, inline)]
Hi,

I'm sure this must have been spotted before, but

    cut -f2,1

produces the fields in the order 1,2 rather than 2,1. That seems wrong
to me.

Changing it would probably break a thousand scripts. But could we have
an additional option to respect the order of fields given on the command
line? It is a pain to rearrange fields with sed, though of course it can
be done.

Thanks, and keep up the good work.

James
[Message part 2 (text/html, inline)]

This bug report was last modified 12 years and 184 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.