Pierre Fortin wrote: ... > Yet: > > $ find .test -iname test\* -iname .test\* > $ find .test -iname test\* -or -iname .test\* -or -print > > give no output! Implies that '-print', while "True", impacts the results of the > tests by causing alteration of the remaining parm relationships... I think this > is more than arcane, it's plain buggy, IMHO... > > > Interesting, no...? :^) Well, _no_, actually ;-) The first never prints anything since the -iname terms are never both true. The second (ISTM) goes like this: a or b or -print -> (a or b) or -print -> TRUE or -print then the '-print' is ignored (!!) because the first term is TRUE. You have to check the info docs for the GNU utilities; the man pages are (unfortunately) not maintained. <Joe
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
