Openldap Experts

Cameron Simpson cs at zip.com.au
Mon Dec 10 00:22:26 UTC 2007


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?

Personally, I've always used:

  grep '^[^#]'

for this task.

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

When a man rides a Motorader he stays forever young.    - German saying




More information about the fedora-list mailing list