Re: md5: new -C flag to skip non-existent files in checklist

2012-03-15 Thread Ted Unangst
On Mon, Mar 12, 2012, Stuart Henderson wrote: On 2012/03/12 00:49, Daniel C. Sinclair wrote: What do you think of making cksum output: (SHA256) nonexistant.txt: MISSING instead of FAILED and the extra output to stderr saying No such file or directory? I think this would be useful (in

Re: md5: new -C flag to skip non-existent files in checklist

2012-03-15 Thread Otto Moerbeek
On Thu, Mar 15, 2012 at 03:26:44AM -0400, Ted Unangst wrote: On Mon, Mar 12, 2012, Stuart Henderson wrote: On 2012/03/12 00:49, Daniel C. Sinclair wrote: What do you think of making cksum output: (SHA256) nonexistant.txt: MISSING instead of FAILED and the extra output to stderr

Re: md5: new -C flag to skip non-existent files in checklist

2012-03-12 Thread Daniel C. Sinclair
What do you think of making cksum output: (SHA256) nonexistant.txt: MISSING instead of FAILED and the extra output to stderr saying No such file or directory? This would make it easier to ignore the MISSING files but still see those that FAILED the checksum. Daniel On Thu, Feb 23, 2012 at

Re: md5: new -C flag to skip non-existent files in checklist

2012-03-12 Thread Stuart Henderson
On 2012/03/12 00:49, Daniel C. Sinclair wrote: What do you think of making cksum output: (SHA256) nonexistant.txt: MISSING instead of FAILED and the extra output to stderr saying No such file or directory? I think this would be useful (in particular, for people downloading a set of

Re: md5: new -C flag to skip non-existent files in checklist

2012-02-23 Thread Landry Breuil
On Thu, Feb 23, 2012 at 08:16:20AM +, Nicholas Marriott wrote: Hi Is this really much more useful than 2/dev/null? Yes, return code would be 0 if all present files match... Landry

Re: md5: new -C flag to skip non-existent files in checklist

2012-02-23 Thread Marc Espie
On Thu, Feb 23, 2012 at 08:16:20AM +, Nicholas Marriott wrote: Hi Is this really much more useful than 2/dev/null? Note the FAILED that vanish. I'm not sure it's not bloat anyways.

Re: md5: new -C flag to skip non-existent files in checklist

2012-02-23 Thread Nicholas Marriott
I almost put or grep or so on in my original mail, but the point is the same... On Thu, Feb 23, 2012 at 09:36:03AM +0100, Landry Breuil wrote: On Thu, Feb 23, 2012 at 08:16:20AM +, Nicholas Marriott wrote: Hi Is this really much more useful than 2/dev/null? Yes, return code would

Re: md5: new -C flag to skip non-existent files in checklist

2012-02-23 Thread Mark Kettenis
Date: Thu, 23 Feb 2012 10:48:17 +0100 From: Marc Espie es...@nerim.net On Thu, Feb 23, 2012 at 08:16:20AM +, Nicholas Marriott wrote: Hi Is this really much more useful than 2/dev/null? Note the FAILED that vanish. I'm not sure it's not bloat anyways. None of the other BSDs

Re: md5: new -C flag to skip non-existent files in checklist

2012-02-23 Thread Christiano F. Haesbaert
On 23 February 2012 08:46, Mark Kettenis mark.kette...@xs4all.nl wrote: Date: Thu, 23 Feb 2012 10:48:17 +0100 From: Marc Espie es...@nerim.net On Thu, Feb 23, 2012 at 08:16:20AM +, Nicholas Marriott wrote: Hi Is this really much more useful than 2/dev/null? Note the FAILED that

Re: md5: new -C flag to skip non-existent files in checklist

2012-02-23 Thread Lawrence Teo
On Thu, Feb 23, 2012 at 11:46:11AM +0100, Mark Kettenis wrote: Date: Thu, 23 Feb 2012 10:48:17 +0100 From: Marc Espie es...@nerim.net On Thu, Feb 23, 2012 at 08:16:20AM +, Nicholas Marriott wrote: Hi Is this really much more useful than 2/dev/null? Note the FAILED that