On Sat 10 Dec 2022 at 21:01:29 (-0500), Jim Popovitch wrote:
> Why does this produce a CR/LF
>
> ~$ TEST=$(ssh -o LogLevel=QUIET -t user@server "echo -n ''"); echo ${TEST}
Try echo -n ${TEST} at the end.
> whilst this same command does not:
>
> ~$ ssh -o LogLevel=QUIET -t user@server "echo -n ''"
Cheers,
David.