Date: Thu, 6 Jan 2000 07:50:02 -0800 (PST) From: Sheldon Hearn <sheldonh@uunet.co.za> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/15929: printf(1) truncates if it sees 000 Message-ID: <200001061550.HAA70549@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/15929; it has been noted by GNATS. From: Sheldon Hearn <sheldonh@uunet.co.za> To: archie@whistle.com Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: bin/15929: printf(1) truncates if it sees 000 Date: Thu, 06 Jan 2000 17:43:39 +0200 On Wed, 05 Jan 2000 17:14:14 PST, Archie Cobbs wrote: > $ printf 'a\000truncated\n' > > This outputs "a" instead of "a<NUL>truncated" What would you expect to happen, given that printf(3) exhibits the same behaviour? Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001061550.HAA70549>
