Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'xargs is better than `...` or $(...)' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
xargs is better than `...` or $(...)
Authored by: alys on Feb 01, '05 05:41:53PM
It's easier to use open `pbpaste` but it's not as reliable. Using backticks (or $(...) in bash) will fail if you have too many arguments (in this case, too many URLs). I'm not sure what "too many" is; it is a reasonably large limit though, so in practice `...` will generally work. However, xargs will always work - it knows how to handle very large numbers of arguments. It's worth letting yourself get familiar with xargs.

[ Reply to This | # ]