Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #181674

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

From davidson@freevolt.org
Newsgroups linux.debian.user
Subject Re: Adding Date & Time to a script's output log
Date 2017-06-01 22:00 +0200
Message-ID <tNEqd-73L-1@gated-at.bofh.it> (permalink)
References <tNzgS-3Gr-19@gated-at.bofh.it> <tNzqz-3Jw-23@gated-at.bofh.it> <tNDua-6m6-11@gated-at.bofh.it> <tNDua-6m6-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Adding Date & Time to a script's output log SUZANNE COBB <ronleach@tesco.net> - 2017-06-01 16:30 +0200
  Re: Adding Date & Time to a script's output log Don Armstrong <don@debian.org> - 2017-06-01 16:40 +0200
  Re: Adding Date & Time to a script's output log Nicolas George <george@nsup.org> - 2017-06-01 16:40 +0200
    Re: Adding Date & Time to a script's output log Greg Wooledge <wooledg@eeg.ccf.org> - 2017-06-01 21:00 +0200
      Re: Adding Date & Time to a script's output log davidson@freevolt.org - 2017-06-01 22:00 +0200
    Re: Adding Date & Time to a script's output log davidson@freevolt.org - 2017-06-01 21:00 +0200
  Re: Adding Date & Time to a script's output log Greg Wooledge <wooledg@eeg.ccf.org> - 2017-06-01 16:40 +0200
  Re: Adding Date & Time to a script's output log David Wright <deblis@lionunicorn.co.uk> - 2017-06-01 16:40 +0200
  Re: Adding Date & Time to a script's output log Ron Leach <ronleach@tesco.net> - 2017-06-01 17:30 +0200
    Re: Adding Date & Time to a script's output log Dan Ritter <dsr@randomstring.org> - 2017-06-01 17:40 +0200

csiph-web