Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Mar 2023 12:14:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 257075] touch(1) does not accept input from date(1) with -I to -d
Message-ID:  <bug-257075-227-Eb8o9iZjQu@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-257075-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-257075-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257075

Daniel Tameling <tamelingdaniel@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tamelingdaniel@gmail.com

--- Comment #2 from Daniel Tameling <tamelingdaniel@gmail.com> ---
I recently wanted to use touch -d with the Date string from Email headers a=
nd I
would also appreciate more flexibility. In the end I used GNU touch, which =
is
very liberal in what it accepts:

  The --date=3DSTRING is a mostly free format human readable date string su=
ch as=20
  "Sun, 29 Feb 2004 16:21:42 -0800" or "2004-02-29 16:21:42" or even "next=
=20
  Thursday". A date string may contain items indicating calendar date, time=
 of=20
  day, time zone, day of week, relative time, relative date, and numbers. A=
n=20
  empty string indicates the beginning of the day. The date string format is
more=20
  complex than is easily documented here but is fully described in the info=
=20
  documentation.

I think matching that would be an overkill, but it would be nice to have mo=
re
options than currently supported.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-257075-227-Eb8o9iZjQu>