From: Nick Murtagh (murtaghn at domain tcd.ie)
Date: Sun 09 Jun 2002 - 14:03:11 IST
On Friday 07 June 2002 22:57, Mark Finlay wrote:
> 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:
> *,RestartCommand=killall ooqstart
> *,RestartCommand=ooqstart *
> Any ideas?
Surely a modification of the "OpenOffice.org Location" perl script would
do the trick: read a line from the file, and if it doesn't match any of
the above (using regexps) print it out to a new file. copy the new file
over the old file...
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:17:10 GMT