Networker

Re: [Networker] mminfo not equal query

2004-04-06 03:38:27
Subject: Re: [Networker] mminfo not equal query
From: "Wood, R A (Bob)" <WoodR AT CHEVRONTEXACO DOT COM>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Tue, 6 Apr 2004 08:37:52 +0100
Why not try 

mminfo -q "pool<>xyz" 

Bob
-----Original Message-----
From: Legato NetWorker discussion [mailto:NETWORKER AT LISTMAIL.TEMPLE DOT EDU]
On Behalf Of Philippe Michel
Sent: 05 April 2004 17:23
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Subject: Re: [Networker] mminfo not equal query


Davina Treiber wrote:
>
> I'm trying to do an mminfo query that basically queries "pool not 
> equal to xyz". I've tried:
>
> mminfo -q "!pool=xyz"
> mminfo -q "pool!=xyz"
>
> and neither have had the desired effect. The man page sort of says 
> that the former might work, but doesn't exactly say that it will.

After an experience similar as yours, my understanding is that ! works
only for flag attributes and that "!attribute" is only a shorthand for
"attribute=false".

The man page is not very clear, but it does not say that ! negates
whatever expression follows it, merely that :

                                     When comparing  flags  whose
     values   are   normally   `true'   and   `false',   one  may
     alternatively use the `[ ! ] name' syntax.  The `!name' form
     is  equivalent  to  `name=false',  and  `name'  by itself is
     equivalent  to  `name=true'.

--
Note: To sign off this list, send a "signoff networker" command via
email to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can also
view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

<Prev in Thread] Current Thread [Next in Thread>