On Thu, 1 Jun 2006 10:59:56 +0100 (BST), Tom Cosgrove <[EMAIL PROTECTED]> wrote:
>> Sure, you can edit the above rather easily to produce the correct format >> for BSD md5/cksum but why should we be doing that all of the time. > >Don't edit it manually, use a one-line sed, awk or perl script. > yep, exactly what I did. >> Would it be worthwhile to add a format switch (maybe "-f") to cksum so >> we can handle different file formats? >> >> $ cksum -f openssl -c ossl.md5 >> $ cksum -f md5sum -c md5sum.md5 >> >> Is there some unstated reasoning why we don't support the other formats? > >Yes. Each tool should do one thing, and do it well. cksum does. >Having multiple different formats in the program, particularly those >that can be generated from each other by simple sed scripts, is insane. > >Sorry. > >Tom > >(If you really want this, you could write a shell script that does exactly >that - even taking your suggested -f option.) I see you point. My suggestion kind of seems like feature creep. jcr -- Free, Open Source CAD, CAM and EDA Tools http://www.DesignTools.org