-exec on find(1) broken

Paul McFerrin pmcferrin@columbus.rr.com
Tue Oct 9 06:07:00 GMT 2007


I think I'm going nuts.  What am I doing wrong?  Can't seem to get -exec 
to work.

    /i/mp3.$ find . -type f -mtime +18 -exec /bin/echo \{\;\} | more
    find: missing argument to `-exec'
    /i/mp3.$ find . -type f -mtime +18 -exec /bin/echo \{\} | more 
    find: missing argument to `-exec'
    /i/mp3.$ find . -type f -mtime +18 -exec /bin/echo '\;' | more
    find: missing argument to `-exec'
    /i/mp3.$ find . -type f -mtime +18 -exec /bin/echo \{;\} | more
    find: missing argument to `-exec'
    /i/mp3.$ find . -type f -mtime +18 -exec echo '\;' | more
    find: missing argument to `-exec'

There is NO missing argument to -exec.  What gives?  Is it really broken 
or do I not understand the manual page correctly?

- paul mcferrin

Partial output of cygcheck.....
    Cygwin DLL version info:
        DLL version: 1.5.24
        Build date: Wed Jan 31 10:57:51 CET 2007
  Cygwin Package Information
  findutils            4.3.8-1




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list