Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Apr 2005 18:38:32 +0000 (UTC)
From:      Tim Kientzle <kientzle@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.bin/tar getdate.y
Message-ID:  <200504231838.j3NIcWrS095043@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
kientzle    2005-04-23 18:38:32 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/tar          getdate.y 
  Log:
  Overhaul getdate.y.  In particular, remove minutes-based logic
  (combine with existing seconds-based), treat '-' as punctuation rather
  than a negative number indicator (eliminates several special cases),
  use a single list of special words instead of several separate lists,
  use table-driven abbreviation logic (eliminate duplicate word entries
  and special-case abbreviation and plural handling).  The result is
  shorter, simpler (judging from comments, earlier maintainers didn't
  understand the special handling for "negative years"), handles more
  cases (e.g., "tu" is now a recognized abbreviation for "tuesday",
  "3rd" is now equivalent to "third") and it has 2 fewer shift/reduce
  conflicts.
  
  Revision  Changes    Path
  1.4       +571 -683  src/usr.bin/tar/getdate.y



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504231838.j3NIcWrS095043>