Package: mawk
Version: 1.3.3-17
Severity: minor

Dear Maintainer,

    What led up to the situation?

Discovered the issue when searching Debian Code Search for "19%y".

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

sh /usr/share/doc/mawk/examples/hical

   * What was the outcome of this action?

Current year shown as 1917

   * What outcome did you expect instead?

Current year shown as 2017

Fix suggestion 1: change 19%y to %Y in the script.
Fix suggestion 2: take the fixed version from upstream mawk 1.3.4.

The script has also some more bugs fixed upstream since - its shebang
points at /usr/sh which does not exist, and the echo command needs an
extra -e or the output will contain literal \n instead of line feeds.
All this is fixed upstream.

The issue is still present on sid, 1.3.3-17.

-- System Information:
Debian Release: 8.9
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages mawk depends on:
ii  libc6  2.19-18+deb8u10

mawk recommends no packages.

mawk suggests no packages.

-- no debconf information

Reply via email to