FVWM: Generalized PipeRead

From: Neil Zanella <nzanella_at_cs.mun.ca>
Date: Sat, 6 May 2000 20:58:44 -0230 (NDT)

Hello,

It would be nice if there was a generalized version of PipeRead called
PipeReadString which worked as follows: the output of

PipeReadString command.sh

would be the output of the (shell script) command. However, unlike with
PipeRead, this output would not be Exec'ed directly. Instead the output
would appear in front of an Exec command as an argument. For example:

Exec xterm -bg PipeReadString bg.sh -fg PipeReadString fg.sh

The advantage of PipeReadString over PipeRead is that of readability.
Only the parameters that do change can be the output of the shell
script rather than the whole command. That way the Fvwm script can
more easily document which parameters are subject to change and which
ones are not.

Best Regards,

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 Sat May 06 2000 - 18:30:11 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:50 BST