[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
What is the difference between --binary and the default of md5sum?
From: |
Peng Yu |
Subject: |
What is the difference between --binary and the default of md5sum? |
Date: |
Fri, 6 Jul 2012 10:18:06 -0500 |
Hi,
I don't see any difference between the two md5sum commands (on Mac OS).
~/linux/test/gnu/gnu/coreutils/md5sum/--binary$ ./main.sh
md5sum `which md5sum`
which md5sum
02389bdcb510f7a2667f94c4264bebd8 /opt/local/libexec/gnubin/md5sum
md5sum -b `which md5sum`
which md5sum
02389bdcb510f7a2667f94c4264bebd8 */opt/local/libexec/gnubin/md5sum
~/linux/test/gnu/gnu/coreutils/md5sum/--binary$ cat main.sh
#!/usr/bin/env bash
set -v
md5sum `which md5sum`
md5sum -b `which md5sum`
As mentioned at http://cygwin.com/cygwin-ug-net/using-textbinary.html,
the difference between --binary and default is only important on
windows, right?
--
Regards,
Peng
- What is the difference between --binary and the default of md5sum?,
Peng Yu <=