Created
January 9, 2025 01:16
-
-
Save garywill/b59167f6eb60f58998d0faacb4f6cce3 to your computer and use it in GitHub Desktop.
Print text file correctly, which 0x00 is newline. '\n'在某种文本文件里被用0x00表示了,正确打印出这种文本文件内容
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| xargs -0 -L1 -a "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment