Created
December 17, 2009 20:49
-
-
Save FND/259019 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
url=${1:?} | |
host="..." | |
email="..." | |
cmd="wget -q -O - $url | uuencode doc.html | /bin/mailx -s '$url' $email" | |
ssh $host $cmd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment