Re:GNU Coreutils Gotchas
by yrro on Monday November 30, 2015 @11:25AM
(#10650155)
A practical issue: how many paths should basename accept on stdin? If more than 1, how should they be delimited?
[ Parent
| on HN ]
Re:GNU Coreutils Gotchas
by andrewchambers on Monday November 30, 2015 @02:56PM
(#10651354)
obviously with a newline like every other unix tool. sort, uniq, grep etc.
But paths can contain newlines.
Re:GNU Coreutils Gotchas
by scrollaway on Thursday December 03, 2015 @03:52PM
(#10672544)
Most tools that deal with paths delimit them on newlines and support a -z or -0 flag to delimit with \0.