looks reasonable, but couldn't you just use exec on a one liner?
perl -e "exec('/bin/mail',@ARGV) if @ARGV";
In reply to Re: Sanity check: Tiny wrapper script for /bin/mail
by RichardK
in thread Sanity check: Tiny wrapper script for /bin/mail
by FloydATC
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |