Date: Thu, 6 Jan 2000 09:40:01 -0800 (PST) From: Archie Cobbs <archie@whistle.com> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/15929: printf(1) truncates if it sees 000 Message-ID: <200001061740.JAA81806@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: Archie Cobbs <archie@whistle.com> To: sheldonh@uunet.co.za (Sheldon Hearn) Cc: archie@whistle.com, FreeBSD-gnats-submit@freebsd.org Subject: Re: bin/15929: printf(1) truncates if it sees 000 Date: Thu, 6 Jan 2000 09:33:49 -0800 (PST) Sheldon Hearn writes: > > $ 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? No, I'm not at all surprised. But that's not the point, of course. Either the bug should be fixed or else at least declared 'normal' and so documented in the man page. -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com 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?200001061740.JAA81806>