Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-24-2015, 12:17 AM   #1
Ben Wang
LQ Newbie
Registered: Apr 2015
Posts: 16

Rep: Reputation: Disabled
mutt does not show full subject

I use following shell script to send email. But the subject of email always shows "This" instead of "This is L_1.R is finished". You may refer
host_list=("" "" "" "")
program=("L_1" "L_2" "L_3" "L_4")
subject="The job is finished"
ssh -f 'echo' "the job ${program[0]} is finished" '|' 'mutt "" -s' "This is "${program[0]}".R is finished";

Last edited by Ben Wang; 04-24-2015 at 12:25 AM.
Old 04-27-2015, 06:48 AM   #2
Senior Member
Registered: May 2009
Location: WV, USA
Distribution: Slackware, Ubuntu, Amazon Linux
Posts: 1,830
Blog Entries: 21

Rep: Reputation: 119Reputation: 119
you are nesting double quotes so the "${program[0]}" part is not quoted.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Show me full tc command syntax _dx Linux - Networking 4 08-10-2011 10:25 AM
no files on the disk but 'df -h' show it's full junust Linux - General 7 04-22-2010 06:16 AM
Linux/df does not show full space sudheerd Linux - Newbie 6 02-14-2008 04:18 AM
How can I show the full names on my desktop? mehmetunlu Linux - Newbie 3 02-14-2006 07:55 AM
Procmail Filtering Using a Full Subject Line lmcilwain Linux - Software 3 02-08-2006 02:07 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:50 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration