Date: Sat, 6 May 1995 18:50:01 -0700 From: "Jordan K. Hubbard" <jkh@time.cdrom.com> To: freebsd-bugs Subject: bin/386: *s field width specification doesn't seem to work for printf Message-ID: <199505070150.SAA27670@freefall.cdrom.com> In-Reply-To: Your message of Sat, 6 May 1995 18:47:08 -0700 <199505070147.SAA00980@time.cdrom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
>Number: 386 >Category: bin >Synopsis: *s field width specification for printf seems to loop >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs (FreeBSD bugs mailing list) >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat May 6 18:50:00 1995 >Originator: Jordan K. Hubbard >Organization: Walnut Creek CDROM >Release: FreeBSD BUILT-19950425 i386 >Environment: See Release >Description: Try this: printf "%8*s" foobarblatt It will loop forever. The man page would tend to indicate that it, or perhaps rather %*8s, should print the arg truncated to 8 characters. Either way, it shouldn't loop. >How-To-Repeat: See above. >Fix: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199505070150.SAA27670>