Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Formail syntax problem

Status
Not open for further replies.

sedawk

Programmer
Feb 5, 2002
247
US
Hi the Group,

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?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top