From: Jim Meyering Date: Sat, 10 Mar 2001 07:53:35 +0000 (+0000) Subject: (date invocation): Correct the description of how X-Git-Tag: FILEUTILS-4_0_42~68 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e489a18ead084094a3910b8bfd5b391154a0611a;p=thirdparty%2Fcoreutils.git (date invocation): Correct the description of how date works when given no format. Reported by Ole Laursen. --- diff --git a/doc/sh-utils.texi b/doc/sh-utils.texi index 1f51928824..8481dcd0e0 100644 --- a/doc/sh-utils.texi +++ b/doc/sh-utils.texi @@ -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