Philipp Thomas wrote: > Eric Blake wrote: > > (using d2u on the checksum file before handing it to md5sum is usually a > > decent workaround to having to teach md5sum about alternate line endings). > > That's what the person who asked is doing atm.
While dos2unix isn't always available I would also mention that 'tr' should always be and can do this nicely too. tr -d "\r" < file.MD5SUM | md5sum -c I am sure you already knew that but since only d2u got mentioned I was compelled to mention tr for the mail archive. :-) Bob
