Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001566OCamlOCaml generalpublic2003-02-28 03:342008-01-22 15:24
Assigned To 
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: (

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 0001565acknowledged feature wish: support printf "%8.8s" 

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

cf. PR#1565

- 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

Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker