On Sat, 10 Dec 2022 21:01:29 -0500 Jim Popovitch <j...@k4vqc.com> wrote:
> Why does this produce a CR/LF > > ~$ TEST=$(ssh -o LogLevel=QUIET -t user@server "echo -n ''"); echo > ${TEST} > > whilst this same command does not: > > ~$ ssh -o LogLevel=QUIET -t user@server "echo -n ''" Because the second echo in the first line does not have a -n. All the ssh stuff is superfluous. charles@jhegaala:~$ test=$(echo -n '') ; echo $test charles@jhegaala:~$ test=$(echo -n '') ; echo -n $test charles@jhegaala:~$ -- Does anybody read signatures any more? https://charlescurley.com https://charlescurley.com/blog/