Re: Openldap Experts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Cameron Simpson wrote:
> On 09Dec2007 15:17, Stuart Sears <stuart@xxxxxxxxxxx> 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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux