Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Apr 1996 14:48:50 -0500
From:      "Eric L. Hernes" <erich@lodgenet.com>
To:        current@freebsd.org
Subject:   /bin/sh's printf
Message-ID:  <199604111948.OAA07202@jake.lodgenet.com>

index | next in thread | raw e-mail


I've stumbled across a little problem with sh's printf,
could someone explain what's going on here:

(ttyp0@jake)$ /bin/sh
(ttyp0@jake)$ printf "%04d\n" 12
  12
(ttyp0@jake)$ /usr/bin/printf "%04d\n" 12
0012


It looks like they're compiled from the same sources even --??

eric.
--
erich@lodgenet.com
erich@rrnet.com



home | help

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