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] | |
Paul McFerrin wrote, On 9.10.2007 8:09:
> 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'
Try and compare the output of command echo ';' and command echo '\;' and
compare the output. You want to use ';' to terminate the -exec argument list.
>
> There is NO missing argument to -exec. What gives? Is it really broken
> or do I not understand the manual page correctly?
>
> - paul mcferrin
>
--
VH
Attachment:
signature.asc
Description: OpenPGP digital signature
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |