logoalt Hacker News

Walftoday at 1:26 AM0 repliesview on HN

Yeah, and I invariably add -r to xargs, so as not to execute the command unless results come through the pipeline.

If one is working with whole lines of text, setting the delimiter to newline is often desirable:

xargs -d \\n