2 ms·
I use 'cat list | while read -r addr; cat text | mail $addr; done', which pretty clearly extends to filling in a template by using sed instead of cat and readin
by saurik 13y ago
I use 'cat list | while read -r addr; cat text | mail $addr; done', which pretty clearly extends to filling in a template by using sed instead of cat and reading multiple variables from the file instead of just addr (IFS=, and it becomes a csv).