Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1011918

Bug#961740: printf attempts to parse options and fails to print --help

From Melvin Vermeeren <vermeeren@vermwa.re>
Newsgroups linux.debian.bugs.dist
Subject Bug#961740: printf attempts to parse options and fails to print --help
Date 2020-05-29 20:20 +0200
Message-ID <AbRLP-3Qo-1@gated-at.bofh.it> (permalink)
References <AbsDM-5yg-11@gated-at.bofh.it> <AbR98-3om-11@gated-at.bofh.it> <AbsDM-5yg-11@gated-at.bofh.it> <AbR98-3om-11@gated-at.bofh.it>
Organization vermware

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Friday, 29 May 2020 19:35:06 CEST Jakub Wilk wrote:
> I think you're misinterpreting the standard. If it really meant that
> implementations must not support any options, it would say so
> explicitly, like it does for echo:
> 
> https://pubs.opengroup.org/onlinepubs/9699919799/utilities/echo.html

Indeed, you are correct. In that case printf may have >= 0 options and whether 
options are parsed at all is unspecified. This also explains the lack of any 
reference to "Section 12.2, Utility Syntax Guidelines".

Apologies for the noise.

-- 
Melvin Vermeeren

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Bug#961740: printf attempts to parse options and fails to print --help Melvin Vermeeren <vermeeren@vermwa.re> - 2020-05-28 17:30 +0200
  Bug#961740: printf attempts to parse options and fails to print --help Michael Stone <mstone@debian.org> - 2020-05-28 18:20 +0200
  Bug#961740: printf attempts to parse options and fails to print --help Jakub Wilk <jwilk@jwilk.net> - 2020-05-29 19:40 +0200
    Bug#961740: printf attempts to parse options and fails to print --help Melvin Vermeeren <vermeeren@vermwa.re> - 2020-05-29 20:20 +0200

csiph-web