Oddity In stty
I can't figure this out. Why does the first pipeline suceed but the second fails?
I'm running an up-to-date Sid.
dlc@muse:~$ fold -w `stty -a | head -1 | awk '{print $7}' | tr -d ';'` < /dev/null
dlc@muse:~$ cat /dev/null | fold -w `stty -a | head -1 | awk '{print $7}' | tr -d ';'`
stty: standard input: Invalid argument
fold: option requires an argument -- w
Try `fold --help' for more information.
dlc@muse:~$
--
May the LORD God bless you exceedingly abundantly!
Dave Craig
- - - - - - - - - - - - - - - - - - - -
"'So the universe is not quite as you thought it was.
You'd better rearrange your beliefs, then.
Because you certainly can't rearrange the universe.'"
--from _Nightfall_ by Asimov/Silverberg
Reply to: