1

mutt weird action

view story
linux-howto

http://unix.stackexchange.com – I wrote a little script to send multiple mails from a list with differents subjects. #!/bin/bash while read -a line do mailadd=${line[0]} subject=${line[1]} mutt -s `echo $subject` `echo $mailadd` < /home/emanuele/testomail.txt done < prova.txt The scripts works fine and sends the mails, but mutt tell me that he needs a -s option. mutt: option requires an argument -- 's' Mutt 1.5.21 (2010-09-15) I don't understand why the script works fine but mutt exit with an error. How can I fix it? (HowTos)