http://www.perlmonks.org?node_id=1184653


in reply to How to write the perl script for the following linux command?

`find . -type f -exec cp {*.html} htmlfiles`;
Error: find: missing argument to `-exec'

Replies are listed 'Best First'.
Re: why th efollowing error occurs in perl?
by afoken (Abbot) on Mar 15, 2017 at 06:52 UTC

    Please stop creating new threads for the same problem. Stay in one thread, that makes it much easier for everyone willing to help.

    And by the way, this is not a perl error. Perl isn't even reporting it. See find.

    Alexander

    --
    Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
Re: why the following error occurs?
by hippo (Abbot) on Mar 15, 2017 at 09:14 UTC
Re: why th efollowing error occurs in perl?
by huck (Vicar) on Mar 15, 2017 at 07:30 UTC