From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 17 Sep 2013 14:03:11 +0000 Message-ID: <20130917140311.Horde.h37nmc23IQ06O84zHmBqzw1@ssl.eumx.net> From: Kurt H Maier To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> References: <1482429.KLDYROpnPh@coil> In-Reply-To: <1482429.KLDYROpnPh@coil> User-Agent: Internet Messaging Program (IMP) H5 (6.1.3) Content-Type: text/plain; charset=UTF-8; format=flowed; DelSp=Yes MIME-Version: 1.0 Content-Disposition: inline Subject: Re: [9fans] how to output NUL byte from awk? Topicbox-Message-UUID: 8011a5f6-ead8-11e9-9d60-3106f5b1d025 Quoting dexen deVries : > 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? > Does printf not do this? khm