NetBSD-Bugs archive

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

bin/40214: cut -f output description wrong

>Number:         40214
>Category:       bin
>Synopsis:       cut -f output description wrong
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 18 09:30:00 +0000 2008
>Originator:     Arto Huusko
>Release:        4.99.72
cut(1) says:

-f list The list specifies fields, delimited in the input by a single
        tab character.  Output fields are separated by a single tab

The last sentence is wrong: the fields are separated by the delimiter character 
(default tab, but -d can be used to change the delimiter).
man cut(1)
SUS v3 says instead:

"Output fields shall be separated by a single occurrence of the field delimiter 

Home | Main Index | Thread Index | Old Index