[ILUG] OpenOffice.org Location

Kevin O' Riordan kor at compsoc.com
Fri Jun 7 16:26:28 IST 2002


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




More information about the ILUG mailing list