sed '/[0-9]*,RestartStyleHint=3/d' filename
From: Mark Finlay [mailto:sisob at eircom.net]
Sent: 07 June 2002 22:58
Subject: [ILUG] Opposite of Cat >>
I have an install script which `cat >>`'s the following text into
I need to write an unistall script that will remove that text from the
file bearing in mind there could be text before and after that block
that need to be left intact and that the numbers 99 and 100 could have
changed and that/usr/local/OpenOffice.org1.0 could have changed . So i
really need to remove the lines:
Or is there any way to add and remove startup programs in gnome from the
command line (fsking gooey baxsterds)
"sisob's linux eXPerience"
Registered Linux User: #243436
Irish Linux Users' Group: ilug at linux.iehttp://www.linux.ie/mailman/listinfo/ilug for (un)subscription information.
List maintainer: listmaster at linux.ie
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!