Feedback mail command takes message from standard input 

Forum: U Chicago, Com Sci 221 old messages, autumn 2000
Re: News Assignment #1, due 2 October (Mike O'Donnell)
Re: Question question on "insert file" in mail program (Maggie Novak)
Date: 2000, Sep 30
From: <Anonymous>

Type man mail to see the basic documentation for the mail command. Here's a brief excerpt:

When recipients are named, mail assumes a message is being sent. It reads from the standard input up to an end-of-file
In a Unix shell, standard input normally comes from whatever you type at the terminal right after giving the command. But you can redirect a file to the standard input using the < symbol: mail address <filename. Now you just need to figure out how to set the ``Subject'' line to ``CS 221 Assignment #1''.



Mike O'D.


Messages

to: "mail command takes message from standard input"