From e489a18ead084094a3910b8bfd5b391154a0611a Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 10 Mar 2001 07:53:35 +0000 Subject: (date invocation): Correct the description of how date works when given no format. Reported by Ole Laursen. --- doc/sh-utils.texi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/sh-utils.texi b/doc/sh-utils.texi index 1f5192882..8481dcd0e 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 -- cgit v1.2.3-70-g09d2