This simply isn't true. Read the docs.
find ./ | xargs perl -e'print "\n@ARGV"'
Should output one line with all of the arguements sent to perl.
You're perfectly right. I knew but just forgot it. Indeed this is the reason why at some time I got used to do stuff like
find . -type f | while read f; do stuff with $f; done
whenever I suspected that the argument list may have been too long. (Now I generally stick with -exec.)
Alternativly, just for the sake of putting this out there, this can be done without xargs
find ./ -exec perl -e'print "\n@ARGV" {} \;
But this would execute numerous copies of perl.
Indeed. It was me to point this out in the first place, as you can see in the post you're replying to.
But fear not for find hsa an altnative syntax!
find ./ -exec perl -e'print "\n@ARGV"' {} +
Which is also probably the best way to acomplish this task.
Interesting. This I authentically didn't know. Of course it's all out there in the manpages, I guess. But generally you learn "this kinda things" as people tell you about them...

In reply to Re^4: One-line shell script for find and replace by blazar
in thread One-line shell script for find and replace by pkk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.