Skip to main content
8 events
when toggle format what by license comment
Nov 18, 2018 at 15:11 comment added user232326 @StéphaneChazelas No, it is not '\0', it is $'\0'. And yes, it converts (almost exactly) to ''. But that is a way to comunicate to other readers the actual intent of using a NUL delimiter.
Nov 18, 2018 at 8:32 history edited Kusalananda CC BY-SA 4.0
deleted 6 characters in body
Nov 18, 2018 at 8:29 comment added Stéphane Chazelas Note that -d '\0' is in fact -d '' as bash can't pass NUL characters to commands, even its builtins. But it does understand -d '' as meaning delimit on NUL. Note that you need bash 4.4+ for that.
Nov 18, 2018 at 8:26 history edited Kusalananda CC BY-SA 4.0
added 531 characters in body
Nov 17, 2018 at 20:49 vote accept Enterprise
Nov 17, 2018 at 20:49
Nov 17, 2018 at 20:47 history edited Kusalananda CC BY-SA 4.0
added 48 characters in body
Nov 17, 2018 at 20:41 history edited Kusalananda CC BY-SA 4.0
added 48 characters in body
Nov 17, 2018 at 20:36 history answered Kusalananda CC BY-SA 4.0