Created
June 14, 2022 09:10
-
-
Save csskysea/c0441574a833e463e9be1027b102157d to your computer and use it in GitHub Desktop.
convert rsa key file content from multile lines to one lines end with '\n'
This file contains 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
awk 'NF {sub(/\r/, ""); printf "%s\\n",$0;}' xxx.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment