On Tue, Oct 22, 2002 at 10:14:15PM +0100, Ian Jackson wrote: > > > (b) The new behaviour leaves no way to just get the unvarnished md5sum > > > of some file. Being able to do this is quite useful if you're writing > > > shell scripts and the like. > > How hard is cut -f 1 -d ' ' or sed -e 's/ .*//'? > It's needless complexity. Why have md5sum go out of its way to do > something that's actually unhelpful ? I've got to say I agree: "md5sum < foo" is a much more convenient and reliable way to get useful output than messing with cut, and having a "-" is absolutely useless; I know it came from stdin when I invoke md5sum, and a "-" tells me absolutely _nothing_ useful at any later date (when I might want to validate an md5sum, say). It would've been much better to change textutil's md5sum behaviour than dpkg's. FWIW, etc. Cheers, aj -- Anthony Towns <aj@humbug.org.au> <http://azure.humbug.org.au/~aj/> I don't speak for anyone save myself. GPG signed mail preferred. ``If you don't do it now, you'll be one year older when you do.''
Attachment:
pgpl2ecsr17D9.pgp
Description: PGP signature