Bela Lubkin dixit:
> ${@-/dev/stdin} POSIX shell syntax for "This script's arguments,
> or if none, /dev/stdin (standard input)"
You want "${@:-/dev/stdin}" with the double quotes and the colon.
(Yes, that’s POSIX.)
bye,
//mirabilos
--
FWIW, I'm quite impressed with mksh interactively. I thought it was much
*much* more bare bones. But it turns out it beats the living hell out of
ksh93 in that respect. I'd even consider it for my daily use if I hadn't
wasted half my life on my zsh setup. :-) -- Frank Terbeck in #!/bin/mksh
_______________________________________________
Lynx-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lynx-dev