$ man sed | head -2
SED(1) BSD General Commands Manual SED(1)
$ printf '\r\n' | sed $'s/\r//' | hexdump -C
00000000 0a |.|
00000001
1 个赞