coreutils
[Top][All Lists]
Advanced

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

Re: [PATCH] md5sum: Implemented --pedantic option to be more strict in v


From: Erik Auerswald
Subject: Re: [PATCH] md5sum: Implemented --pedantic option to be more strict in verification mode
Date: Thu, 7 Jul 2011 12:11:20 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

Hi,

On Thu, Jul 07, 2011 at 09:22:25AM +0200, Jim Meyering wrote:
> schoenfeld / in-medias-res wrote:
> >>From 156d7e829da3ab9d895a275c2cd02e52388bcd0d Mon Sep 17 00:00:00 2001
> > From: Patrick Schoenfeld <address@hidden>
> > Date: Mon, 17 Nov 2008 20:54:08 +0100
> > Subject: [PATCH] md5sum: Implemented --pedantic option to be more strict in 
> > verification mode
> >
> > * md5sum: Implemented a --pedantic option in --check mode, which lets md5sum
> >   bail out with a non-zero exit code, if one or more improperly formatted 
> > line
> >   is found. Feature request by Dan Jacobson.
> >   (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=353911)
> ...
>   - when checking two or more files, don't stop processing (exit) upon
>     an invalid line in the first.  i.e., process all files before exiting.

Why? If md5sum exits with non-zero error code if a malformed line
is found, IMHO it should exit at the first such line. If you want
diagnostics, you can already use --check an get a warning for each
malformed line.

Regards,
Erik



reply via email to

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