Keith Bowes dixit:
>Je 2011-Okt-03 je 11:10, Thorsten Glaser skribis:
>> You want "${@:-/dev/stdin}" with the double quotes and the colon.
>> (Yes, that"s POSIX.)
>What's after the colon is the default value?
No. The colon before the dash, which is the operation (to take
what comes after it as default value), means to also use the
default when the parameter is set and empty (otherwise, it will
only take effect when the parameter is unset). That is usually
what one wants. (Not in this case, maybe. I accept that.)
bye,
//mirabilos
--
08:05⎜<XTaran:#grml> mika: Does grml have an tool to read Apple
⎜ System Log (asl) files? :)
08:08⎜<ft:#grml> yeah. /bin/rm. ;) 08:09⎜<mrud:#grml> hexdump -C
08:31⎜<XTaran:#grml> ft, mrud: *g*
_______________________________________________
Lynx-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lynx-dev