In your mail: > > > > + I PipeRead `ps x|grep Fvwm|sed -e > > "s/\\(.*\\)\\/\\(Fvwm[a-zA-Z]\\+\\).*/AddToMenu ModuleList \\2 KillModule > > \\2/"|sort|uniq` > > If your sed allows, use a delimiter other than '/' so that you do > not have to escape it to reduce the clutter... > > echo 'damn/it' | sed -e 's!damn/!bloody !' > > > In other words, use a delimiter that does not occur in search > pattern or replacement to minimize number of things to focus on. > > I have a feeling, but have not actually tried, that you may be > overescaping things in sed command. > > > - Parv the fucntion looks like: Now DestroyFunc funcModuleList AddToFunc funcModuleList + I PipeRead 'ps x|grep Fvwm|sed -e "s!\\(.*\\)/\\(Fvwm[a-zA-Z]\\+\\).*!AddToMenu ModuleList \\2 KillModule \\2!"|sort -u'
-- 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]
