Thanks for the report.
However, that is the required behavior.
I've changed cut's --help output and the texinfo documentation
to mention this `feature':

  $ cut --help
  ...
    -f, --fields=LIST       output only these fields;  also print any line
                              that contains no delimiter character, unless
                              the -s option is specified
  ...

[EMAIL PROTECTED] writes:
| hi there,
|
| i think i've found an error in "cut"
|
| i've tried following :
|
| ~/> echo 1 2 3 4 5 | cut -d" " -f2-
| 2 3 4 5
| ~/> echo 1 | cut -d" " -f2-
| 1
|
| i think that's wrong....
| needn't it be an empty string ? "" ?
|
| this error accoured in
| " GNU bash, version 1.14.7(1) "
| " cut (GNU textutils) 2.0a david ihnat, david mackenzie, jim meyering  1999 fsf "
| precompiled in "redhatlinux 6.2", german version

Reply via email to