I am getting an unexpected end of file error after including this line in my .bashrc
alias domsrv01='echo -e ?HT_R8\'% | xclip ; ssh 10.50.0.35'
The desired exit from echo to xclip is:
?HT_R8'%
As you may guess, it's a password and I can't change it so:
How can I escape the single quote character from inside the password to fix the EOF error?
Also, I'm not sure if the single quote is the only issue here, can "?" and "%" be interpreted in funny ways too?