Openldap Experts

Cameron Simpson cs at zip.com.au
Mon Dec 10 03:27:02 UTC 2007


On 09Dec2007 20:42, Robert L Cochran <cochranb at speakeasy.net> wrote:
>> | egrep -v '^($|#)' /etc/ldap.conf
>>
>> OT - grep curiosity...
>> You can embed a "$" inside an alternation?
>>
>> Personally, I've always used:
>>   grep '^[^#]'
>> for this task.
>>   
> This:
> egrep -v '^($|#)' /etc/ldap.conf

Oh, I know what it _does_. I'm just surprised you can put "$" inside a
(...) section. I'm sure I've tripped over that constraint somewhere;
possibly not with GNU grep.

Anyway, my grep incantion is logically equivalent.

Cheers,
-- 
Cameron Simpson <cs at zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/

Actually, it's only 'evolution in action' if they haven't spawned yet.
        - JAM jmooney at ornews.intel.com
Not at all, because they might have spawned again had not the hand of
fate intervened.  I consider such cases a partial victory, at least.
        - Geoff Miller <geoffm at netcom.com> DoD#0996




More information about the fedora-list mailing list