linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* inequality operator semantics
@ 2011-08-11 12:25 Steffen Sledz
  2011-08-11 12:45 ` Kay Sievers
  0 siblings, 1 reply; 2+ messages in thread
From: Steffen Sledz @ 2011-08-11 12:25 UTC (permalink / raw)
  To: linux-hotplug

Just a short question about the semantics of the != operator in conjunction with e.g. DRIVERS.

Does

  DRIVERS!="xyz"

mean DRIVER for *all* parents is not equal to "xyz", or that there is *at least* one parent with this condition?

Does this semantics had changed over the time?

Regards,
Steffen Sledz

-- 
DResearch Fahrzeugelektronik GmbH
Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
Tel: +49 30 515932-237 mailto:sledz@dresearch-fe.de
Fax: +49 30 515932-299
Geschäftsführer: Dr. Michael Weber, Werner Mögle;
Amtsgericht Berlin Charlottenburg; HRB 130120 B;
Ust.-IDNr. DE273952058

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: inequality operator semantics
  2011-08-11 12:25 inequality operator semantics Steffen Sledz
@ 2011-08-11 12:45 ` Kay Sievers
  0 siblings, 0 replies; 2+ messages in thread
From: Kay Sievers @ 2011-08-11 12:45 UTC (permalink / raw)
  To: linux-hotplug

On Thu, Aug 11, 2011 at 14:25, Steffen Sledz <sledz@dresearch-fe.de> wrote:
> Just a short question about the semantics of the != operator in conjunction with e.g. DRIVERS.
>
> Does
>
>  DRIVERS!="xyz"
>
> mean DRIVER for *all* parents is not equal to "xyz", or that there is *at least* one parent with this condition?

One parent that doesn't match. DRIVERS!= not combined with more
matches makes not much sense. There should be in all cases a driver,
along the chain of parent devices, that does not match the string.

> Does this semantics had changed over the time?

Don't think so.

Kay

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-08-11 12:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-11 12:25 inequality operator semantics Steffen Sledz
2011-08-11 12:45 ` Kay Sievers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).