Preparing output for further processing with Xargs

Slashdot it! Delicious Share on Facebook Tweet! Digg!

Conclusion

Backticks on the command line and special characters in filenames hardly ever get along amiably. Additionally, using backticks can cause confusion very quickly what with nested constructs and so on. Fortunately, Xargs helps in almost all cases where backticks fail.

Acknowledgments

The author thanks Frank Hofmann and Benjamin Schieder for advice and comments when writing of this article.

The Author

Axel Beckert (http://noone.org/abe/) studied biology with a minor in computer science. He is currently working as a Linux system administrator at the Swiss Federal Institute of Technology in Zurich, is on the board of the Linux User Group Switzerland, and participates in the Debian project. He also maintains the http://planet-commandline.org website.

Buy this article as PDF

Express-Checkout as PDF

Pages: 4

Price $0.99
(incl. VAT)

Buy Ubuntu User

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content