spot on. that's why: printf "%c", 0 works, move on now. On 18 September 2013 17:24, Florian Limberger wrote: > On Tue, 17 Sep 2013 15:47:17 +0200 > dexen deVries wrote: > > > awk(1) says, ``[s]tring constants are quoted " ", with the usual C > > escapes recognized within.'', but \0 seems to terminate internal > > string reprezentation... > > > > so how do i output a real NUL byte? > > I know this is not very constructive and may seem like a dumb question, > but isn’t \0 the end marker for C strings? So this behaviour might be > expected? > > > -flo >