"find": AND/OR no longer equal precedence
- From: Mister.Fred.Ma@xxxxxxxxx
- Date: Mon, 3 Dec 2007 12:57:22 -0800 (PST)
There was a time when I used HP-UX and Solaris, and the "find"
command's AND (implied) and OR operators were of equal precedence.
Basically, operators were evaluated from left to right. I am
currently using GNU "find" version 4.3.8, and the AND operator has
greater precedence than the OR operator. When did this unequal
precedence start to become standard (assuming that it is standard) It
certainly is more intuitive, though we have to be careful of falling
back on old ways, and maybe need to rework old scripts? Is it pretty
well the way that *nix is going?
Thanks.
Fred
.
- Follow-Ups:
- Re: "find": AND/OR no longer equal precedence
- From: Geoff Clare
- Re: "find": AND/OR no longer equal precedence
- Prev by Date: programmer needed
- Next by Date: Re: What is the more popular UNIX flavor?
- Previous by thread: programmer needed
- Next by thread: Re: "find": AND/OR no longer equal precedence
- Index(es):
Relevant Pages
|