in reply to Re: md5_hex gives different values for same string
in thread md5_hex gives different values for same string
file mil_dic.txt on most linuxes reveals whether you have dos or unix newlines. You can use the program dos2unix to convert your file. Real perl cracks convert command line: on linux,
(converting unix to dos newlines on a windows machine won't work this way, though)perl -i -p -e "s/\r//" mil-dic.txt
From lots of experience learnt after countless headaches: whenever there is strange file behaviour, look for the newlines.
|
|---|