This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

-exec on find(1) broken


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]