Skip to main content
8 events
when toggle format what by license comment
May 23, 2017 at 11:33 history edited CommunityBot
replaced http://stackoverflow.com/ with https://stackoverflow.com/
May 24, 2014 at 21:15 comment added Stéphane Chazelas Yes, it case like me you wonder, it's not a bug, but an undocumented feature. The source of GNU cut (--output-delimiter is GNU only) does have code specific for that and a comment that says Interpret --output-delimiter='' to mean 'use the NUL byte as the delimiter.'
May 23, 2014 at 21:57 comment added phemmer @valrus I would guess that it's deliberately coded so that if you pass an empty argument, you get a NULL delimiter. Just a guess though. Man page makes no mention of the behavior.
May 23, 2014 at 21:37 comment added valrus Great answer, well explained. One further question, though: why are those NULLs in there? Is it because of the blank --output-delimiter option?
May 23, 2014 at 21:33 vote accept valrus
May 22, 2014 at 22:17 comment added Andreas Wiese Chapéu! Nice answer, hadn't initially thought of this.
May 22, 2014 at 21:39 history edited phemmer CC BY-SA 3.0
added 214 characters in body
May 22, 2014 at 21:34 history answered phemmer CC BY-SA 3.0