Re: [Networker] NSRADMIN wild cards
2008-04-29 12:12:16
Darren,
I am totally not getting this.
I am using 7.3.3.
this is the querey i am typing
nsradmin> . type: NSR client; name: ntrs'*';
Current query set
nsradmin> print
No resources found for query:
name: ntrs'*';
type: NSR client;
nsradmin>
I used it \, $, ^ all of them giving me the same.
-Venkat
On Tue, Apr 29, 2008 at 11:15 AM, A Darren Dunham <ddunham AT taos DOT com>
wrote:
> On Tue, Apr 29, 2008 at 10:12:59AM -0400, Venkat Tudi wrote:
> > Hi,
> > I am looking to find out how to use wild cards in NSRADMIN.
> > for example
> > . type: NSR client; group: oradbs-*;
> >
> > print
>
> There is a 'nsr_regex' man page. But the main thing is that you'll need
> to use regular expressions, not globs.
>
> So instead of '*' for zero or more characters, it would be '.*'.
>
> There's another trick. It appears that if you don't use any regular
> expression characters, it has to be a complete match so:
>
> print name:john would not match name: jonathan.
>
> But either of
>
> print name:john.* or
> print name:^john
>
> would match. The first because the .* matches the rest of the name, the
> second because the anchor shows this to be a regular expression.
>
> --
> Darren Dunham ddunham AT taos DOT
> com
> Senior Technical Consultant TAOS http://www.taos.com/
> Got some Dr Pepper? San Francisco, CA bay area
> < This line left intentionally blank to confuse you. >
>
> To sign off this list, send email to listserv AT listserv.temple DOT edu and
> type
> "signoff networker" in the body of the email. Please write to
> networker-request AT listserv.temple DOT edu if you have any problems with
> this
> list. You can access the archives at
> http://listserv.temple.edu/archives/networker.html or
> via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
>
--
Venkat Tudi
To sign off this list, send email to listserv AT listserv.temple DOT edu and
type "signoff networker" in the body of the email. Please write to
networker-request AT listserv.temple DOT edu if you have any problems with this
list. You can access the archives at
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
|
|
|