Hello,
I'm running fvwm version 2.3.16...
I would like ask two things about fvwm quoting rules. I would also like
to point out what I think might be a bug in Fvwm's quoting rules:
------------------------------------------------------------------------
(1)
I would like to see an example of a function that uses an Fvwm parameter
consisting of a '$' followed by a word enclosed in braces (${...}) as
mentioned in the fvwm2 the man page. I ask because the man page gives no
example of this kind of parameter.
------------------------------------------------------------------------
(2)
Also, there is a bug in the fvwm man page in the parameter section:
the following sentence is unclear to me:
To quote a beginning
with '*') are not subject to parameter expansion.
------------------------------------------------------------------------------
(3)
The string '$$2' should be expanded to '$2' but Fvwm seems to first expand
it to '$2' and then to the actual value of the function parameter $2
making it impossible to produce a literal '$2'.
For example:
AddToFunc MyFunc "I" Exec echo 111 222 333 | /bin/awk { print $$2 }' >
myfile
should execute:
echo 111 222 333 | /bin/awk { print $2 }' > myfile
Thus I should get
$ cat myfile
222
but I get
$ cat myfile
111 222 333
--------------------------------------------------------------------
Best Regards,
Thanks,
Neil
--
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 majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Wed May 03 2000 - 23:37:29 BST