Thursday, October 23, 2008

shabang line maker

#!/usr/bin/env bash
me=`whereis env | cut -d" " -f2`
echo "#!"$me" "$1 > $2
echo "" >> $2
echo "" >> $2
chmod 0777 $2
ls $2

No comments: