Hi, i'm trying to include some script commands in a mailx command, in order to pass information current at the time of the mailx script.
What I get however is the piece of script text, not the result I'm hoping for.
Below is an example at the command line:
mailx jcurry@somewhere.com
Subject:
"`"at -l | tail -1"`"
.
The result I get is "`"at -l | tail -1"`". I have tried passing variables but got the same.
Any ideas appreciated
cheers
simmo
What I get however is the piece of script text, not the result I'm hoping for.
Below is an example at the command line:
mailx jcurry@somewhere.com
Subject:
"`"at -l | tail -1"`"
.
The result I get is "`"at -l | tail -1"`". I have tried passing variables but got the same.
Any ideas appreciated
cheers
simmo