[ LUGOS ] Sortiranje poste

Metod Kozelj metod.kozelj na rzs-hm.si
Čet Avg 20 09:06:14 CEST 1998


Howdy!

Sovrazim replye samega nase, ampak kdor nima v glavi, ima v prstih.

On Thu, 20 Aug 1998, Metod Kozelj wrote:

> RCVDFROM=`cat ${TMP} | ${FORMAIL} -r -i From | Grep From | head -n 1`

Seveda mora biti zgornja vrstica takale:

RCVDFROM=`cat ${TMP} | ${FORMAIL} -r -i From | grep From | head -n 1`

> /bin/echo "${SUBJECT}\n${RCVDFROM}\n${RCVFSUBJECT}" | ${SENDMAIL} ${SENDMAILFLAGS} GdjeSiMujo na linux.mobitel.si

Pojasnilo: mora biti /bin/echo, saj shellov echo navadno ne expanda
kontrolnih znakov (\n --> <new line>).

Peace!
  Mkx




Dodatne informacije o seznamu Starilist