Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 May 1995 09:03:03 +0200 (MET DST)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-bugs@FreeBSD.org (FreeBSD bugs list)
Subject:   Re: bin/386: *s field width specification doesn't seem to work for printf
Message-ID:  <199505070703.JAA07597@uriah.heep.sax.de>
In-Reply-To: <199505070445.OAA02207@godzilla.zeta.org.au> from "Bruce Evans" at May 7, 95 02:45:47 pm

next in thread | previous in thread | raw e-mail | index | archive | help
As Bruce Evans wrote:
> 
> printf(1) doesn't seem to do any more error checking than printf(3).

Yes, but it should (since it's a user program, and not only a function
provided to developers).

> No, the 8 is the (minimum) field width.
> 
> 	printf "%.*s" 8 foobarblatt

I remembered this later, too.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199505070703.JAA07597>