Subject: Re: why doesn't NetBSD ship with md5sum or sha1sum?
To: Jukka Salmi <netbsd-help@NetBSD.org, j+nbsd@2006.salmi.ch>
From: Hubert Feyrer <hubertf@gmx.de>
List: netbsd-help
Date: 04/25/2006 01:07:21
In article <20060423175215.GA14026@moray.salmi.ch> you wrote:
> > md5 *.tgz >MD5
> > md5 -c MD5
>
> Thanks a lot! IMHO this is a very useful addition.
You're welcome! FWIW, I've hacked it a bit more so that the checksum file
is now optional, and stdin is used when no file is given. Also, for input
formats where the hash algorithm can be determined from, it's used
according to that.
For cksum(1) -o[12] and sum(1) those tools/options still need to be
specified, just like when -n ("normal"?!) is used. I think those should be
nuked from orbit / merged in consistently.
- Hubert