diff --git a/mcomp b/mcomp index 66980f4..b9cb20b 100755 --- a/mcomp +++ b/mcomp @@ -1,6 +1,14 @@ #!/bin/sh # mcomp [TO] - compose mail +commajoin() { + sed ':a;N;s/\n/, /;$!b a' +} + +reffmt() { + sed 's/^[^<]*//g;s/[^>]*$//g;s/>[^<]*\n]*$//g;s/>[^<]*\n