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/


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to