A question about BASH
Hi everyone:
I want to see the header of mails in my mailbox on Redhat Linux. So I wrote the following awkward shell : mail < mail.input | awk '/U / {print}' The content of file "mail.input" is just : quit How could I do this without the file "mail.input"? Thanks for your attention and look forward to your replay. |
Hi, operand.
You could try: echo "quit" | mail | awk '/U / {print}' Rob :) |
Quote:
That works. Thanks a lot. ^_^ . operand |
All times are GMT -5. The time now is 12:15 PM. |