Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Cat command is not working

AravindhKDec 1 2011 — edited Dec 1 2011
Hi,

I want to send a file contents through the mail. The below shell script is triggering the mail, but contents are not displayed. Please can you suggest your idea?

mailx -s 'Status on '$ ${TO} <<-EOF
~< ! cat ${filename.txt}

Thanks,
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 29 2011
Added on Dec 1 2011
1 comment
280 views