On 25 Oct 2003 08:10:39 -0200, [EMAIL PROTECTED] wrote: > > I am going to try to adapt the icewm-menu-gnome2 program > from IceWM to dynamically generate Gnome2 menus for FVWM. > But for that I need to know if the command PipeRead can > be recursive, that is, the output of the command argument > to PipeRead can contain another PipeRead, and that one > is also executed? > > Something like > > PipeRead "fvwm-menu-gnome2 --list /usr/share/gnome/vfolders/" > > where the output of the command > > fvwm-menu-gnome2 --list /usr/share/gnome/vfolders/ > > have calls to PipeRead.
I am not sure why do you ask rather then just try it: PipeRead `echo 'PipeRead "echo Menu MenuFvwmRoot"'` Yes, nested PipeRead works. However, you don't really need it. In your script just use loops to generate several menus at once. Or use dynamical submenu features to call your script again on submenus. See the output of existing fvwm-menu-* scripts for different approaches. Regards, Mikhael. -- 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]
