5
The shasum utility has a a -p/--portable option with the following description:
-p, --portable read files in portable mode
produces same digest on Windows/Unix/Mac
I've never seen the inclusion this option change the digest of a file, and I'm not really sure what effect it's supposed to have either. What is this "portable mode" of reading files?
1Takes in account different EOL characters? – DavidPostill – 2017-02-19T14:08:56.097
1@DavidPostill Maybe, though that'd be strange too. Different EOLs makes for different files, and thus they should have different digests, right? The platforms's EOLs doesn't seem like something shasum should try to interpret/coerce – Flambino – 2017-02-19T14:17:34.700
For what it's worth shasum says " -p, --portable read in portable mode (to be deprecated)
– DavidPostill – 2017-02-19T14:24:16.463@DavidPostill Ah, didn't say that in my manpage for it. Only makes it more mysterious :) – Flambino – 2017-02-19T14:25:47.470
1Answer added ;) – DavidPostill – 2017-02-19T14:37:28.583