Hi the Group,
I have a difficulty in understanding what is wrong with this formail syntax. The script I have is like this:
In this way, variable $FROM can be printed correctly, but $SUBJECT is empty. If I comment out the first line: FROM=`formail -xFrom:`, $SUBJECT can be printed out.
Can anyone tell me what is going on with this formail syntax?
I have a difficulty in understanding what is wrong with this formail syntax. The script I have is like this:
Code:
FROM=`formail -xFrom:`
SUBJECT=`formail -xSubject`
echo $FROM
echo $SUBJECT
In this way, variable $FROM can be printed correctly, but $SUBJECT is empty. If I comment out the first line: FROM=`formail -xFrom:`, $SUBJECT can be printed out.
Can anyone tell me what is going on with this formail syntax?