Openldap Experts
Stuart Sears
stuart at sjsears.com
Mon Dec 10 17:39:57 UTC 2007
Cameron Simpson wrote:
> On 09Dec2007 15:17, Stuart Sears <stuart at sjsears.com> wrote:
> | 1. which (uncommented) lines are in /etc/ldap.conf at the moment?
> | egrep -v '^($|#)' /etc/ldap.conf
>
> OT - grep curiosity...
> You can embed a "$" inside an alternation?
You can embed any regex character inside an alternation.
>
> Personally, I've always used:
>
> grep '^[^#]'
not bad. hadn't thought of that...
Stuart
More information about the users
mailing list