#!/bin/sh [ -z "$2" ] && echo "usage: $0 " && exit 1 echo | mutt -s "$2" -a "$2" -- "$1"