There are two ways:
1. OS X comes with openssl; so you can enter % openssl md5 <filename>
2. Use FINK and download 'md5sum', which will save you typing in one extra word...![]()
(How interesting, I just came on to ask an MD5 question myself)
I'm tragicly forlorne...
Here I am coming back from the pub after a few swift beers looking for some checksumming action, and they've removed the command in 10.2!
How do I checksum files in 10.2?
ta
Bernie :0)
(in a mildly drunken state)
"These are my principles, if you don't
like them, I have others"
// 2 line quine in PHP
<?$s='echo"<?\$s=%27".$s."%27;\n".urldecode($s);?>';
echo"<?\$s='".$s."';\n".urldecode($s);?>
There are two ways:
1. OS X comes with openssl; so you can enter % openssl md5 <filename>
2. Use FINK and download 'md5sum', which will save you typing in one extra word...![]()
(How interesting, I just came on to ask an MD5 question myself)
PS. Note that there is no "-" before "md5".
PPS Your quine only prints '; echo" on my machine...![]()
Last edited by michaelsanford; May 16th, 2003 at 04:26 PM.
Ta Michael,
much appreciated
Ah, you'll be looking at in a web browser. It's a text quine, so you have to look at it in source mode (or run command line PHP), because the web browser interprets < and > as HTML tags, so doesn't render the contents.Originally posted by michaelsanford
PPS Your quine only prints '; echo" on my machine...:rolleyes:
I was going to make it render propery in HTML, but then it wouldn't be a real quine.
take care,
Bernie :o)
"These are my principles, if you don't
like them, I have others"
// 2 line quine in PHP
<?$s='echo"<?\$s=%27".$s."%27;\n".urldecode($s);?>';
echo"<?\$s='".$s."';\n".urldecode($s);?>
Bookmarks