Groups
Groups
Sign in
Groups
Groups
gnu.bash
Conversations
About
Send feedback
Help
Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss
Learn more
combine xargs and eof
6 views
Skip to first unread message
giuseppe...@gmail.com
unread,
Oct 17, 2012, 12:55:07 PM
10/17/12
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hi
i'm using often xargs to run process in parallel
ls *.txt | xargs -n 1 -P 10 bash myscript.sh
where myscript.sh is (for examples of course is longer):
echo $1
i would like to perform the same operation using the EOF syntax and import the arguments inside the eof
I tried
ls *.txt | xargs -n 1 -P 10 <<
echo $1
EOF
also with the option -E and -e but did not work
any ideas?
thanks Giuseppe
0 new messages