The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 06-22-2006
braindrain braindrain is offline
Registered User
  
 

Join Date: Jul 2005
Posts: 67
sorry, i wasn't elobrative enough..

I call mailx from script, from command line if I use double quote I the get the subject as such, however when I use it via scripting, It's not
My script has following statement

cat $3 | mailx -v -R somebody@org.com -s $1 $2

my execution statement is

./script1.sh "This is subject message" nobody@org.com file.txt

I do get an email , however as I mentioned before the subject has only 'This' and not the full text

Last edited by braindrain; 06-22-2006 at 04:50 AM..