[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Extending fluxbox menu with a script.



On 11/22/2013 03:13 PM, Sharon Kimble wrote:
> I've been doing some more testing and now got the 'submenu' being
> generated at the end, which is good. But, the sed lines are also
> stripping out *all* of the [end] lines which separate the sections of
> the menu, which are needed for it to function properly. So how can we
> get it to just strip out the two [end] at the end of the main menu, and
> leave all of the other [end] in the script intact please?
> 
> Thanks
> Sharon.

Use head -n -1 instead of removing all "[end]" lines with the sed command.

http://lists.debian.org/debian-user/2013/11/msg01187.html

-- 
http://masysma.ohost.de/

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: