[...Discussion about Read from a shellcommand pipe...]
I wrote:
Peter> Read "[ -f $HOME/.fvwm2rc ] && ... ... m2/system.fvwm2rc |"
Peter> ---------------------------------------------------------------^ !!
Charles Hines replied:
chuck> A little hard to see there I think, but a possibility.
chuck>
chuck> Or better, perhaps a separate command for it (like "ReadPipe" or
chuck> something like that). [...]
I think it is not the point, whether the trailing bar notation might
be a "little hard to see there"! Much more important will be, how easy
somebody trying to write a .fvwm[2]rc file will be able to remeber the
syntax needed to invoke this feature and what its semantic will be.
I don't think that the probability, that somebody reading an existing
.fvwm2rc file will overlook this trailing bar, justifies to choose
one of those less intuitive choices. Almost always the content
of the string after the Read command will make clear, that it is
a shellcommand and no simple include filename. Only if the shell
command is simply an executable script with an arbitrary name, this
might cause some confusion. But then a short look into the script will
make it obviuous.
IMHO a trailing '|' is most logical notation for the "Read from
a pipe"-feature. Writing .fvwm[2]rc files without continuously
refering to the man page or other existing .fvwm[2]rc files is already
hard enough.
[...\ notation...]
chuck> Haven't been keeping track of the announcements, eh? :) That was
chuck> added to 2.0.42, courtesly of Jarl.
Indeed. I must have overseen that. Sorry.
Regards, Peter
NOTE: Reply-To: has been set to the new fvwm-workers mailing list.
-=-=-
Peter Funk, Oldenburger Str.86, D-27777 Ganderkesee, Germany
office: +49 421 2041925 (ArtCom GmbH, Grazer Str.8, D-28359 Bremen)
echo '[q]sa[ln0=aln256%Pln256/snlbx]sb3135071790101768542287578439snlbxq'|dc
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Fri May 31 1996 - 14:16:15 BST