Hello,
When mail command is used to read mails.... after 1 msg is viewed, a prompt is displayed for user input ...for eg
'n' - to move to the next msg
'd' - to delete the msg just read ...etc
how can i include this feature in a shell script where the defualt action reqd is to delete ie more specifically ...i want to copy a mail into a file and delete it immediately (user input is 'd')
Can sumone please help me, its urgent, please
Thanks a lot ....