From owner-freebsd-questions Sun Jun 24 1:14:40 2001 Delivered-To: freebsd-questions@freebsd.org Received: from java2.dpcsys.com (java2.dpcsys.com [206.16.184.5]) by hub.freebsd.org (Postfix) with ESMTP id 54A2937B406 for ; Sun, 24 Jun 2001 01:14:37 -0700 (PDT) (envelope-from dan@dpcsys.com) Received: from localhost (localhost [127.0.0.1]) by java2.dpcsys.com (8.11.1/8.11.1) with ESMTP id f5O8EAO01649; Sun, 24 Jun 2001 01:14:10 -0700 (PDT) Date: Sun, 24 Jun 2001 01:14:10 -0700 (PDT) From: Dan Busarow To: Erik Trulsson Cc: Mike Meyer , tyler spivey , questions@FreeBSD.ORG Subject: Re: program to convert hex to decimal or vise versa? In-Reply-To: <20010624095334.A58464@student.uu.se> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Jun 24, Erik Trulsson wrote: > On Sun, Jun 24, 2001 at 12:43:15AM -0700, Dan Busarow wrote: > > I was going to suggest bc too but the questioner required scripts. > > Crist had the answer for him and taught me something new too. > > printf(1) who came up with that? And when? > > The man page for printf(1) includes the text: > > HISTORY > The printf command appeared in 4.3BSD-Reno. It is modeled after the > standard library function, printf(3). > > A quick look in /usr/share/misc/bsd-family-tree indicates that > 4.3BSD-Reno appeared in 1990. > > It has been there for a while. :-) Serves me right for learning on SVR3 What a cool thing I've missed all these years. Yea BSD > ( And it has long been a minor source of irritation for me since on at > least some Unix-systems when I write 'man printf' I get the man-page > for printf(1) instead of the manpage for printf(3) which is usually > what I want.) I'm getting used to specifying the section in man commands as the docs improve. Guess I haven't looked at printf formats for quite a while. Dan -- Dan Busarow 949 443 4172 Dana Point Communications, Inc. dan@dpcsys.com Dana Point, California 83 09 EF 59 E0 11 89 B4 8D 09 DB FD E1 DD 0C 82 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message