From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4A7B6EF7.6090305@tecmav.com> Date: Fri, 7 Aug 2009 02:01:59 +0200 From: Adriano Verardo User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.17) Gecko/20080829 SeaMonkey/1.1.12 MIME-Version: 1.0 To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [9fans] binary sprint format Topicbox-Message-UUID: 3a7cda9a-ead5-11e9-9d60-3106f5b1d025 Hi, all I'm trying to convert integers in text binary format by sprint(..., "%b", i), but 8c issue a "format mismatch b INT" warning message. Can anyone kindly explain to me my mistake ? Doesn't "%b" behave like the other integer format specifications ? Thanks in advance adriano