On 2009/05/13 09:26, Theo de Raadt wrote:
> > On 2009/05/13 10:40, Otto Moerbeek wrote:
> > > > 
> > > > I did some research on different operating systems regarding 
> > > > checksumming and
> > > > found that solaris had a nice option called "digest -l" which prints the
> > > > available algorithms and exits.  I wrote this functionality into 
> > > > cksum(1) 
> > > > that you can have if you want it.  Patch follows.
> > > > 
> > > > -peter
> > > 
> > > I kinda like this, but comments inline.
> > 
> > it might be nice to display the list of algorithms when an unsupported
> > algorithm is chosen, e.g.
> > 
> > $ cksum -a foo
> > cksum: unknown algorithm "foo", available algorithms:
> > cksum, md4, md5, rmd160, sha1, sha256, sha384, sha512, sum, sysvsum.
> > usage: cksum [-bpqrtx] [-a algorithms] [-c [checklist ...]] [-o 1 | 2]
> >              [-s string] [file ...]
> 
> I don't see why that is neccessary.
> 
> Who is that for?
> 
> Is it for the people who didn't install the manual set, or for the people
> who don't want to read the manuals?

The manual suggests there might be others.

             Supported algorithms include cksum, md4, md5, rmd160, sha1,
             sha256, sha384, sha512, sum, and sysvsum.

How about s/include/are/?

Reply via email to