bug-coreutils
[Top][All Lists]
Advanced

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

cut(1) feature request


From: gopher
Subject: cut(1) feature request
Date: Fri, 17 Jun 2005 15:51:18 +0200
User-agent: Mutt/1.5.9i

Hello,

I'm missing a feature in cut(1) and wanted to know if i) one can change the
behaviour of the return fields or ii) add an additional parameter (let's
say -F) to GNU cut. The latter option would ensure that things don't get
broken, whereas the first option seems more intuitiv.

If it's ok to modify cut(1), I'd be glad to see a little modification the the 
fields parameter (-f). In the current implementation it returns one ore more 
fields in the way that these fields occur in the input line. However, it seems 
more intuitiv that the fields get rearranged the way one passes the field 
numbers:

        echo "foo bar" | cut -d " " -f2,1 

should create the output

        bar foo

Do you accept patches for cut(1) and what way would you prefer?


cya
Benjamin

-- 
http://www.redsheep.de/




reply via email to

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