On Sat, Oct 30, 2010 at 5:18 AM, Doug Currie <[email protected]> wrote: > Maybe instead of > > computed = computed:sub(-32) > > we could use > > computed = > computed:match("(%x%x%x%x%x%x%x%x%x%x%x%x%x%x%x%x%x%x%x%x%x%x%x%x%x%x%x%x%x%x%x%x)")
That would do the job in both cases: $ openssl md5 test-doc.lua MD5(test-doc.lua)= 466a8673375ce16d701ff3624cc01238 $ md5sum test-doc.lua 466a8673375ce16d701ff3624cc01238 test-doc.lua Looks like this problem has been lurking around, waiting to bite! steve d. _______________________________________________ Luarocks-developers mailing list [email protected] http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers
