News for hackers. Stuff that matters.
Re:Hints for writing Unix tools by mjevans on Tuesday October 21, 2014 @05:28AM (#8486597)
You would be amazed what various broken tools can produce for filenames.
Re:Hints for writing Unix tools by to3m on Tuesday October 21, 2014 @11:13AM (#8487734)
I can't decide if this is a rebuttal, or not ;) - assuming it is, note that the number of possible paths containing newlines OR spaces is smaller than the number of possible paths containing only newlines, so an xargs that didn't handle newlines by default would still be supporting more possible paths than it does in its current state!
Re:Hints for writing Unix tools by simpleigh on Tuesday October 21, 2014 @09:47AM (#8487271)
Only the other week I managed to mouse-twitch into existence a file that rm refused to remove.