hello
in the middle of my sh script, I am using mailx like this:
mailx -s "Sybase Installation on $i" x@abc.com < /net/share/shared/install.output.$i
"i" stands for the remote server such as SIROE
I am expecting to receive an email with subject "Sybase Installation on SIROE" and attachment the file /net/share/shared/install.output.siroe
The email I am receiving as the subject: Sybase Installation on
$i is not affected inside " "
any idea please?
thx