bug-textutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: md5sum < file


From: Bob Proulx
Subject: Re: md5sum < file
Date: Mon, 8 Jul 2002 10:27:48 -0600
User-agent: Mutt/1.4i

> Hmm... Debian unstable's /usr/bin/md5sum can't handle
> the use of `-' as a name for stdin:
> 
>   $ echo a |md5sum > x
>   $ echo a |/usr/bin/md5sum -c x
>   /usr/bin/md5sum: can't open -
>   Segmentation fault
>   [Exit 139 (SIGSEGV)]

A SIGSEGV probably warrants a bug report on that version of md5sum.

> But the one from textutils can:
> 
>   $ echo a |md5sum.textutils -c x
>   -: OK

Just to clarify something.  md5sum on Debian is not from the textutils
package at all.  It is from the 'dpkg' package.

    md5sum --version
    md5sum: invalid option -- -
    usage: md5sum [-bv] [-c [file]] | [file...]
    Generates or checks MD5 Message Digests
        -c  check message digests (default is generate)
        -v  verbose, print file names when checking
        -b  read files in binary mode
    The input for -c should be the list of message digests and file names
    that is printed on stdout by this program when it generates digests.

    dpkg -S /usr/bin/md5sum 
    dpkg: /usr/bin/md5sum

Bob



reply via email to

[Prev in Thread] Current Thread [Next in Thread]