note 79501 deleted from function.md5 by danbrown
| From: | danbrown@php.net | Date: | Mon, 20 Jun 2011 15:22:57 +0000 |
| Subject: | note 79501 deleted from function.md5 by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-180752@lists.php.net to get a copy of this message | ||
Note Submitter: AlexT
----
re: Santa Cruz skelly
It is not actually md5sum that adds the extra newline. Most (if not all) text editors will add a
trailing newline to the file. You can test this by creating a file (e.g. test.txt) with the word
test in it. Then view a hex dump of the file:
# hexdump -C test.txt
00000000 74 65 73 74 0a |test.|
00000005
that 0a on the end is the newline (\n).
Hope this helps.
Alex