coreutils
[Top][All Lists]
Advanced

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

Re: Date documentation


From: Bernhard Voelker
Subject: Re: Date documentation
Date: Tue, 15 Aug 2023 14:04:01 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.1

On 7/15/23 00:35, Michael Partridge via GNU coreutils General Discussion wrote:
Could you add the following to the example to the man page:
```txt
Show the current date and time using a custom format
         $ date "+%Y-%m-%d %H:%M"
```

IMO this is already explained:

  date [OPTION]... [+FORMAT]
  ...
  FORMAT controls the output.  Interpreted sequences are:
  ...

and some formats even show their replacements, e.g.

  %T     time; same as %H:%M:%S

The man pages should be as terse as possible,
so isn't the above sufficient?

Have a nice day,
Berny



reply via email to

[Prev in Thread] Current Thread [Next in Thread]