Actions
Bug #2385
closedcut: "-" doesn't work for standard input
Start date:
06/07/2012
Due date:
% Done:
0%
Estimated time:
Description
The man page for cut states that you can supply a - in place of the filename to read from standard input, but it doesn't work:
echo foo bar | cut -w -f 1 -
cut: -: No such file or directory
However, this does:
echo foo bar | cut -w -f 1
foo
Actions