match($0, /^(To|Cc|Bcc): (.*)$/, m) { split(m[2], tos, ",") for (i in tos) { print "--mail-rcpt " tos[i] } }