Can xargs's initial-arguments expand?
hello, why can't the xargs's intial-arguments which are passed to any command expanded?
First I Can list the file with a wild expansion. Code:
virteman@ubuntu:/tmp$ ls -l tmp* Code:
virteman@ubuntu:/tmp$ echo 'tmp*' |xargs -t ls -l Code:
virteman@ubuntu:/tmp$ echo 'tmp*' |xargs -t -I{} bash -c 'ls -l {}' |
Hi,
If you remove the quotes it works: Quote:
Hope this clears things up a bit |
Quote:
|
All times are GMT -5. The time now is 02:11 AM. |