Running 2.4.7 on Solaris.
I have a function that accepts three arguments, the last of which is
optional; if omitted, I supply a default. Here's what's working:
AddToFunc MyFunc
+ I PipeRead 'BD=$2; BD=${BD:-4}; ... '
If I try to shorten it to this:
+ I PipeRead 'BD=${2:-4}; ... '
then BD is always 4 ($2 is seemingly ignored). "sh" is apparently
satisfied (no "bad substitution" error). Expected? Wrong syntax?
Gregg Dameron
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]