Package: bsdmainutils
Version: 9.0.6
Severity: important
Tags: upstream

Dear Maintainer,

I was trying to get hexdump to output a C-string with hexadecimal escapes,
like "\x68\x65\x6C\x6C\x6F\x0A". Not only did I never reach that result, but
I also run into error messages that don't appear to make much sense.

    $ echo hello | hexdump -v -e "\"\\x\" 1/1 \"%02X\""
    x68x65x6Cx6Cx6Fx0A
    $ echo hello | hexdump -v -e "\"\\\\x\" 1/1 \"%02X\""
    \\68\\65\\6C\\6C\\6F\\0A
    $ echo hello | hexdump -v -e "1/1 \"\\x%02X\""
    hexdump: %A: bad conversion character
    $ echo hello | hexdump -v -e "1/1 \"\\\\x%02X\""
    hexdump: %A: bad conversion character


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

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

Versions of packages bsdmainutils depends on:
ii  bsdutils     1:2.25.2-4
ii  debianutils  4.4+b1
ii  libc6        2.19-13
ii  libncurses5  5.9+20140913-1+b1
ii  libtinfo5    5.9+20140913-1+b1

bsdmainutils recommends no packages.

Versions of packages bsdmainutils suggests:
ii  cpp                   4:4.9.1-5
pn  vacation              <none>
ii  wamerican [wordlist]  7.1-1
ii  whois                 5.2.2

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to