[xfbb] Help on Bash scripting

From: Marco Calistri (qgk.ugzug@vati.hu)
Date: Sat Apr 27 2002 - 20:00:18 EEST


Hi I'd have this problem:

how to send files to a local (LAN) SMTP-server giving them their own Subject?

i.e.the folder /encod contains:

jnos-1_1.p01
jnos-1_1.p02
jnos-1_1.p03
jnos-1_1.p04
jnos-1_1.p05
jnos-1_1.p06
jnos-1_1.p07
jnos-1_1.p08
jnos-1_1.p09
jnos-1_1.p0a

I wonder a script which reads the above and formats mail so that I obtain:

mail -s jnos-1_1.p01 user@myhost
mail -s jnos.1_1.p02 user@myhost
mail -s jnos.1_1.p03 user@myhost

...and so on

Thanks,Marco

----------------------------------
E-Mail: Marco Calistri <wekvvj@mailit.tunk.net>
Date: 26-Apr-2002 Time: 00:50:58
Red Hat Linux release 7.2 (Enigma) kernel 2.4.9-31
This message was sent by XFMail
----------------------------------

_______________________________________________
xfbb maillist - bikuhqc.wiqyis@iqi.ru
http://www.f6fbb.org/mailman/listinfo/xfbb



This archive was generated by hypermail 2b30 : Sun Apr 28 2002 - 19:54:21 EEST