[CentOS] Cut command behaviour - bug or feature

Gordon Messmer yinyang at eburg.com
Wed Aug 29 19:25:29 UTC 2012


On 08/29/2012 09:52 AM, Markus Falb wrote:
>> From:
>> >http://www.unix.com/unix-dummies-questions-answers/117504-question-cut-command.html
>> >  [quote] ... In AIX (for example) if you said
>> >Code: echo 1,2,3,4,5 | cut -d, -f3,1,5
>> >you would get output as 3,1,5
> I tend to think that AIX is not posix compliant, then.
> http://pubs.opengroup.org/onlinepubs/9699919799/utilities/cut.html

Well, according to that document, AIX's cut seems to behave as POSIX and 
Scott (on unix.com) is simply wrong about the application's behavior.



More information about the CentOS mailing list