My boss came to me with a question about how to embed a CRLF sequence into his shell script (for piping through some sort of netcat
or telnet
stuff he's doing) in a reasonably portable and robust way.
How do I embed CRLF or other unprintable characters in my shell script?
903 views Asked by Jim Dennis At
2
My suggestion for him:
... but I'm open to other comments. It's certainly fine with modern versions of GNU
tr
andbash
.