Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001566OCamlOCaml generalpublic2003-02-28 03:342016-12-07 18:28
Reporteradministrator 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
StatusclosedResolutionduplicate 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0001566: feature wish: support printf "precision" for strings
DescriptionFull_Name: Eric Cooper
Version: 3.06
OS: linux
Submission from: 12-227-100-158.client.attbi.com (12.227.100.158)


Please consider supporting the "precision" field in the %s printf conversion.
In C, this limits the printed string to that many characters. For example,
    printf "%-8.8s" string
would print exactly 8 characters, no matter how long [string] is. And it should
work if the spec is indirect:
    printf "%*.*s" 8 8 string

TagsNo tags attached.
Attached Files

- Relationships
duplicate of 0001565confirmed feature wish: support printf "%8.8s" 

-  Notes
(0000146)
administrator (administrator)
2003-02-28 10:16

cf. PR#1565
(0016785)
shinwell (developer)
2016-12-07 18:28

This is a duplicate.

- Issue History
Date Modified Username Field Change
2005-11-18 10:13 administrator New Issue
2008-01-22 15:24 doligez Relationship added duplicate of 0001565
2016-12-07 18:28 shinwell Note Added: 0016785
2016-12-07 18:28 shinwell Status acknowledged => closed
2016-12-07 18:28 shinwell Resolution open => duplicate


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker