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

Re: Adding Date & Time to a script's output log



On Thu, 1 Jun 2017, Greg Wooledge wrote:

On Thu, Jun 01, 2017 at 06:49:58PM +0000, davidson@freevolt.org wrote:
If you go this convenient-lexical-order route, note that %F is
shorthand for %Y-%m-%d

Not portable.  See
<http://pubs.opengroup.org/onlinepubs/9699919799/utilities/date.html>

Whoa. Good to know.

Thanks for the correction. And for the pointer to the POSIX
shell/utilities description.


Reply to: