edwin@hcr.UUCP (Edwin Hoogerbeets) (03/23/89)
A short while ago, Rodney Lewis (munnari!bhpese.oz.au!rodney) posted a Unix-like find to comp.sources.amiga. I would like to say that I *like* it! On the harddisk, I would be lost without it. Literally. (8-) Unfortunately, the first thing I tried was: find dh0:bin -name "*z*" -print which should find zoo and fiz and rez and z. whoops. I looked through the code and easily found this: [etc] case NAME: if (compare_ok(prim->data[0], name)) return(1); else return(0); [etc] When the if is changed to: if (compare_ok(&prim->data[0], name)) It works fine. (works find? sorry, couldn't resist) Other than that, good work! Keep those little utils coming. (I'm almost finished a mv that will move directories across devices, preserve permissions, dates, filenotes, etc. I will send it in when it stops guruing. :-) Edwin