Neil Zanella <nzanella_at_cs.mun.ca> writes:
>
> 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
Does this work:
PipeRead "echo Exec xterm -bg `bg.sh` -fg `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
--
Dan Espen
444 Hoes Lane Room RRC 1C-214 E-mail: dane_at_mk.telcordia.com
Piscataway, NJ 08854 Phone: (732) 699-5570
--
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 Tue May 09 2000 - 17:47:21 BST