Quantcast
Channel: UNIX and Linux Forums
Viewing all articles
Browse latest Browse all 16232

Awk: from two file create a mail with attached error

$
0
0
Hi. My name is Mirko
I have two file.

File 1:
File 2:
Code:

error 08 ffff mio@mio.it test
error 05 ffff bye@bye.fr test
error 11 ffff tst@test.com test
error 65 ffff mio@mio.it test
error 55 ffff bye@bye.fr test

Examples
I would like to send a mail to "mio@mio.it" with attached enclosed its error file:
Code:

error 08 ffff mio@mio.it test
error 65 ffff mio@mio.it test

Same for each email address of the first file.

Sorry if they are not clear enough
many thanks

Viewing all articles
Browse latest Browse all 16232

Trending Articles