find utility behaves different in 5.2 and 5.3
    Claus Guttesen 
    cguttesen at yahoo.dk
       
    Thu Nov  4 09:52:41 PST 2004
    
    
  
> > cyclop~%>find . -type d \! -name autoedit -depth 1
> > find: 1: unknown option
> > According to 'man 1 find' (examples) I should be
able
> > to use \! -name on 5.2.
> 
> And you can.  5.2 is complaining about the "1".  The
> "-depth n" syntax
> was added between 5.2 and 5.3, so that's why it
> fails on 5.2.
Shoot! I'm apparently blind on one eye and can't see
with the other. I'll use -maxdepth. Thank you.
Claus
    
    
More information about the freebsd-current
mailing list