[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensim-dev
Subject:    [Opensim-dev] OpenSim.ini.example and comment stripping
From:       bobby () sharedrealm ! com (Robert G !  Jakabosky)
Date:       2010-07-28 21:06:52
Message-ID: 201007281406.52671.bobby () sharedrealm ! com
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic