1 2 3 4 5 6 7 8
#!/bin/sh cp $1 $1.copy.html ( open -a Safari "$1.copy.html"; sleep 30; rm -f "$1.copy.html"; ) &