tag 21749 notabug
thanks
On 10/24/2015 04:36 AM, Andreas Kern wrote:
> steps to reproduce
>
> run `printf --help`
That's probably running your shell's builtin printf, rather than the one
from coreutils.
Try:
env printf --help
or
/bin/printf --help
and to see the dif
steps to reproduce
run `printf --help`
actual output
(nothing)
expected output
the help message
comment:
I checked it on ubuntu and on arch, both don't print the help. I checked
the source package on ubuntu and there is code for that in printf.c
Pádraig Brady wrote:
> Eric Blake wrote:
>> According to Jim Meyering on 10/28/2009 5:31 AM:
* src/echo.c (usage): Likewise.
Also mention the \xHH escape sequence.
>>
>> While we're at it, bash's builtin echo supports \E as an escape for ascii
>> ESC; do we want to add that as well, for c
Eric Blake wrote:
> According to Jim Meyering on 10/28/2009 5:31 AM:
>>> * src/echo.c (usage): Likewise.
>>> Also mention the \xHH escape sequence.
>
> While we're at it, bash's builtin echo supports \E as an escape for ascii
> ESC; do we want to add that as well, for consistency across GNU projec
Eric Blake wrote:
> According to Jim Meyering on 10/28/2009 5:31 AM:
>>> * src/echo.c (usage): Likewise.
>>> Also mention the \xHH escape sequence.
>
> While we're at it, bash's builtin echo supports \E as an escape for ascii
> ESC; do we want to add that as well, for consistency across GNU project
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Jim Meyering on 10/28/2009 5:31 AM:
>> * src/echo.c (usage): Likewise.
>> Also mention the \xHH escape sequence.
While we're at it, bash's builtin echo supports \E as an escape for ascii
ESC; do we want to add that as well, for consistenc
> Also mention the \xHH escape sequence.
...
> Subject: [PATCH] doc: improve the echo and printf help on escapes
>
> * src/printf.c (usage): Merge strings with echo to
> aid translators. Move the description for \NNN beside
> the other numeric escape codes. Don't mentio
ched...
cheers,
Pádraig.
>From 24a736d4b205ba915b3fa2916d8b9fc9513ac444 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?P=C3=A1draig=20Brady?=
Date: Wed, 28 Oct 2009 10:59:05 +
Subject: [PATCH] doc: improve the echo and printf help on escapes
* src/printf.c (usage): Merge strings with echo to
aid
[EMAIL PROTECTED] (Karl Berry) wrote:
> The --help message for printf (coreutils 6.9) starts with this:
>
> Usage: /usr/local/gnu/bin/printf FORMAT [ARGUMENT]...
> or: /usr/local/gnu/bin/printf OPTION
> Print ARGUMENT(s) according to FORMAT.
>
> --help display this help
The --help message for printf (coreutils 6.9) starts with this:
Usage: /usr/local/gnu/bin/printf FORMAT [ARGUMENT]...
or: /usr/local/gnu/bin/printf OPTION
Print ARGUMENT(s) according to FORMAT.
--help display this help and exit
--version output version info
10 matches
Mail list logo