home
·
contact
·
privacy
projects
/
config
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Explicitely set Bash as shell on plom creation, instead of by default template.
[config]
/
bin
/
simplemail.sh
1
#!/bin/sh
2
#
3
# This mails to user plom the message in the file named by the first parameter,
4
# decoded with the first line as subject and everything below the second line
5
# as the message body.
6
7
subject=`head -1 $1`
8
body=`tail -n +3 $1`
9
echo "$body" | mutt -s "$subject" plom