Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://comet.sai.msu.ru/UNIXhelp/examples/mail5.html
Дата изменения: Fri Jan 17 12:43:16 1997 Дата индексирования: Tue Oct 2 00:06:34 2012 Кодировка: Поисковые слова: iceland |
To use a UNIX command while you are preparing a mail message:
the application is in ~! which guide /usr/local/bin/guide ! the directory /usr/local/bin
This displays the output from the command"
which guide
To include the output from a UNIX command in the mail message:
the IP address for my Mac is ~<! grep jazz /etc/hosts " grep jazz /etc/hosts" 1/30 Alternatively you can call it as jazz.ucs
This inserts the output from the command:
grep jazz /etc/hosts
into the mail message at this point. Notice that command is echoed to indicate that it has been carried out, but that the command output is not displayed.