Subject: jacksum: Ignores specified format if data comes through stdin
Package: jacksum
Version: 1.7.0-4.1
Severity: important

Dear Maintainer,

the specified format ouf output is only applied if jacksum reads from file on
its own. When content is piped in it is ignored.

Here is a transcript:

prey@shambles$ echo "Testfilecontent" > tst
prey@shambles$ jacksum -X -F "#CHECKSUM" -a crc16 < tst
BDED    16      -
prey@shambles$ jacksum -X -F "#CHECKSUM" -a crc16 tst
BDED
prey@shambles$ jacksum -X -F "#CHECKSUM" -a crc16 - < tst
BDED    16      -

Expected output would be ‹BDED› in all three cases.

-- System Information:
Debian Release: 9.8
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-8-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), LANGUAGE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages jacksum depends on:
ii  default-jre  2:1.8-58

jacksum recommends no packages.

jacksum suggests no packages.

-- no debconf information

Reply via email to