NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/39135: /usr/bin/awk: printf supports extra- (and broken) formatting rules

>Number:         39135
>Category:       bin
>Synopsis:       /usr/bin/awk: formatting issues in printf
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 12 00:35:01 +0000 2008
>Release:        NetBSD 4.0_STABLE
System: NetBSD 4.0_STABLE NetBSD 4.0_STABLE (GENERIC) #0: 
Sun Jul 6 22:33:53 EEST 2008 i386
Architecture: i386
Machine: i386
  0 ~>awk 'BEGIN {printf "%llu\n", 123}' 
  0 ~>

Rules are there

  "The printf statement shall produce output based on a notation
  similar to the File Format Notation used to describe file formats in
  this volume of IEEE Std 1003.1-2001 (see the Base Definitions volume
  of IEEE Std 1003.1-2001, Chapter 5, File Format Notation).

This PR is again based on OpenBSD gnats



Home | Main Index | Thread Index | Old Index