]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(date invocation): Correct the description of how
authorJim Meyering <jim@meyering.net>
Sat, 10 Mar 2001 07:53:35 +0000 (07:53 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 10 Mar 2001 07:53:35 +0000 (07:53 +0000)
  date works when given no format.  Reported by Ole Laursen.

doc/sh-utils.texi

index 1f519288248f27da39c5e7d5d13664b182ea2171..8481dcd0e027630fbce3c3a70975d9774883413c 100644 (file)
@@ -2198,8 +2198,7 @@ information.
 @cindex time, printing or setting
 @cindex printing the current time
 
-@code{date} with no arguments prints the current time and date, in the
-format of the @samp{%c} directive (described below).  Synopses:
+Synopses:
 
 @example
 date [@var{option}]@dots{} [+@var{format}]
@@ -2207,6 +2206,9 @@ date [-u|--utc|--universal] @c this avoids a newline in the output
 [ MMDDhhmm[[CC]YY][.ss] ]
 @end example
 
+Invoking @code{date} with no arguments is equivalent to invoking
+@samp{date '+%a %b %e %H:%M:%S %Z %Y'}.
+
 @findex strftime @r{and @code{date}}
 @cindex time formats
 @cindex formatting times