Difference between PowerShell's echo and CMD's echo
问题 I get the following in PowerShell: D:\> echo "Apple Pie" | git hash-object --stdin 157cb7be4778a9cfad23b6fb514e364522167053 D:\> "Apple Pie" | git hash-object --stdin 157cb7be4778a9cfad23b6fb514e364522167053 but in CMD.exe: C:\>echo "Apple Pie" | git hash-object --stdin bb3918d5053fea31fc9a58fae1e5bdeabe3ec647 In a PluralSight video, I see a different value from what seems to be a Mac console: What is the exact value piped from echo in each case? I get a different hash if I go to one of those