[Opensim-dev] OpenSim.ini.example and comment stripping

Robert G. Jakabosky bobby at sharedrealm.com
Wed Jul 28 21:06:52 UTC 2010


On Wednesday 28, Clive Gould wrote:
> Hi everyone
>
> Can I please put in a plea?
>
> I have found comment stripping invaluable in getting a manageable
> version of OpenSim.ini after an upgrade.
>
> When future releases of OpenSim come out and someone creates
> OpenSim.ini.example can they please put all semi-colon delimited
> comments on a separate line and also remove any unnecessary
> semi-colons?
>
> Lines such as
>
> http_listener_ssl_cert = "" ; Currently unused, but will be used
> forOSHttpServer
>
> and
>
> enabled = true;
>
> make using grep -v ";" much harder to use for comment stripping ;)

Looks like some of the database connect strings need semi-colons in there 
value.

But you can use this to strip lines with only comments:
grep -v "^[[:space:]]*;" OpenSim.ini

-- 
Robert G. Jakabosky



More information about the Opensim-dev mailing list