🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.bugs
Article #17

printf %X vs %lx (followon to azure!steveg)

#17
From: utzoohenry
Date: Thu, 01 Apr 1982 20:21
6 lines
533 bytes
In Unix 3.0, there is an explicit distinction between these two:  for
a long, you must use the l prefix, while an uppercase conversion letter
specifies a variant style.  X is uppercase hex, O is octal with a leading
zero (hooray!), E is like e but with an uppercase 'e', etc.

Converting to this from V7 may be a little awkward, though...
Technical Details
Message-ID: <anews.Autzoo.1522>
Path: arc1-ca.pugleaf.net!utzoo!henry

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!henry
From: utzoo!henry
Newsgroups: net.bugs
Subject: printf %X vs %lx (followon to azure!steveg)
Date: Thu, 01 Apr 1982 20:21:01 +0000
Message-ID: <anews.Autzoo.1522>