bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #51220] [wishlist] Using -I with -n


From: Dale Worley
Subject: [bug #51220] [wishlist] Using -I with -n
Date: Sun, 11 Jun 2017 09:24:18 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:34.0) Gecko/20100101 Firefox/34.0

Follow-up Comment #1, bug #51220 (project findutils):

It would help if you simplified the example.  In this case, make the variable
substitutions.  And instead of using "cp" as the command which is executed,
thus showing us only the error message "cp" reports and leaving us to guess
what the command was, use "echo" as the command.

That would give an example like this:
echo "one two three four" |
xargs -n1 -I{} echo cp -v "/tmp/{}" /tmp/test


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?51220>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]