Re: RFE: add md5sum as a built-in

2010-05-28 Thread Bruno Haible
Hi Eric, > have an entire loadable module of various > checksum algorithms (CRC, md5sum, sha1sum, sha256sum, ...), as part of > the (eventual) m4 2.0 release that supports loadable modules. That would make sense, too, indeed. But I would drop SHA-1 at this point, because this algorithm is nowaday

Re: RFE: add md5sum as a built-in

2010-05-27 Thread Eric Blake
On 05/26/2010 07:22 PM, Bruno Haible wrote: > Hi, > > It would be useful to have md5sum as a built-in macro in m4. > For example, > md5sum(`frankie goes to hollywood') => 5b8a258083161281a1ad2c25d1505856 It would make more sense to have an entire loadable module of various checksum algorithms (

RFE: add md5sum as a built-in

2010-05-26 Thread Bruno Haible
Hi, It would be useful to have md5sum as a built-in macro in m4. For example, md5sum(`frankie goes to hollywood') => 5b8a258083161281a1ad2c25d1505856 The first use of this function would be to map file names to shell variables in a way similar to AS_TR_SH of autoconf, except that it would not b