From: Kevin O' Riordan (kor at domain compsoc.com)
Date: Fri 07 Jun 2002 - 16:26:28 IST
Hi Mark,
> the program location. OpenOffice puts the .sversionrc file in
> the users home directory containing the following text:
> [Versions]
>
> OpenOffice.org 1.0=file:///home/sisob/OpenOffice.org1.0
location="`sed -e 's/^OpenOffice\.org 1\.0=file:\/\/\(.*\)/\1/' $HOME/.sversionrc`"
sed ? Perl would look similar, or I'm sure it could be done (by someone
else) with the bash ${%%} or ${##} thingies ...
hth
-kev
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:17:08 GMT