通过hexdump或od -c运行它,但由于它在常规shell中工作正常,我怀疑是LANG问题。 参考资料: linux mail < file.log has Content-Type: application/octet-stream (a noname attachment in Gmail) http://alvinalexander.com/blog/post/linux-unix/how-remove-non-printable-ascii-characters-file-unix的 展开查看全部...
通过hexdump或od -c运行它,但由于它在常规shell中工作正常,我怀疑是LANG问题。 参考资料: linux mail < file.log has Content-Type: application/octet-stream (a noname attachment in Gmail) http://alvinalexander.com/blog/post/linux-unix/how-remove-non-printable-ascii-characters-file-unix的 展开查看全部...