nigrep man page on OpenDarwin

Man page or keyword search:  
man Server   3202 pages
apropos Keyword Search (all sections)
Output format
OpenDarwin logo
[printable version]

NIGREP(1)							     NIGREP(1)

NAME
       nigrep - search for a regular expression in the NetInfo hierarchy

SYNOPSIS
       nigrep expression [ -t ] domain [ directory ... ]

DESCRIPTION
       nigrep  searches	 through  the  specified domain argument for a regular
       expression.  It searches the domain's directory	hierarchy  depth-first
       starting from the root directory. It can also start from each directory
       specified on the command line.

       The domain argument can be specified as an absolute or relative	domain
       name.  The  domain  argument  can  be specified as a network address or
       hostname and tag if preceded by the -t option.

       On output, nigrep prints the directory ID number of the directory which
       contains	 the regular expression, and the property key and values where
       it was found.  A line is printed for each property  that	 contains  the
       regular expression.

OPTIONS
       -t     Specify domain as a network address or hostname and tag.

EXAMPLES
       % nigrep '[Nn]et' /

       % nigrep '[Nn]et' -t 192.42.172.17/local

       % nigrep '192.[0-9]+.172' -t astra/network /machines

       % nigrep '/Net/server.*/Users' .. /users /mounts

SEE ALSO
       netinfo(5)

AUTHOR
       Marc Majka, Apple Computer Inc.

Apple Computer, Inc.		August 9, 1994			     NIGREP(1)
[top]

List of man pages available for OpenDarwin

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
...................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net