Skip to content
Tcl Source Code Artifact [2fab18d588]
Login

Artifact [2fab18d588]

Artifact 2fab18d5881d8bfeadd5c3ed59b5a8bf5dd39046:

Ticket change [2fab18d588] - New ticket [219021ffffffffff|219021ffff] <i>format &quot;%05s&quot; 12 returns 12 padded on left with blanks; prev</i>. by nobody on 2000-10-26 01:09:33.
D 2000-10-26T01:09:33
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s3992\sBug\nVersion:\s8.2\nSubmitDate:\s'2000-01-10'\nLastModified:\s'2000-01-10'\nSeverity:\sMED\nStatus:\sReleased\nSubmitter:\stechsupp\nChangedBy:\shobbs\nOS:\sHP-UX\nOSVersion:\sHP-UX\sB.10.20\nMachine:\sHP\s9000/892\nFixedDate:\s'2000-01-10'\nFixedInVersion:\s8.2.3\nClosedDate:\s'2000-10-25'\n\n\nName:\nPaul\sTakemura\n\nExtensions:\nprotclsh82,\sOratcl\n\nComments:\nPerhaps\sthe\sformat\scommand\sis\snow\sworking\swith\sthe\scorrect\sbehavior.\s\sI\scan\scertainly\suse\s"%05d"\sas\sa\sformat\sspecifier,\sbut\sthis\sassumes\sthat\sI'm\sformatting\san\sinteger\s(which\smay\snot\salways\sbe\sthe\scase).\n\nReproducibleScript:\nformat\s"%05s"\s12\n\nObservedBehavior:\nreturns\sbbb12\s(where\s'b'\srepresents\sblank)\n\nDesiredBehavior:\nIn\sthe\spast,\sthe\scommand\shas\sreturned\s00012\n\n\n\nThis\swas\salready\sfixed\sin\san\s8.2\spatch\srelease\s(for\ssure\s8.2.3),\nbut\sit\sshould\sbe\snoted\sthat\sthe\suser\sis\srelying\supon\s"undefined"\nbehavior\s(according\sto\sANSI\sspec),\sso\swe\sjust\smade\sit\swork\slike\n8.0,\sbut\sthis\sbehavior\sis\sstill\sundoc'ed.\s\n--\s01/10/2000\shobbs
J foundin obsolete:\s8.2
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 81.\sBundled\sPackages
J title format\s"%05s"\s12\sreturns\s12\spadded\son\sleft\swith\sblanks;\sprev
J type Bug
K 219021ffffffffffffffffffffffffffffffffff
U nobody
Z c6f35c9ab8e9065a1d5eed94647ca1b3