Created
February 20, 2013 15:57
-
-
Save waffle2k/4996589 to your computer and use it in GitHub Desktop.
This is a little perl linter that I wrote. It will make any Perl script 100% better.
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
#!/bin/bash | |
FILENAME="" | |
if [ -e $1 ]; then | |
FILENAME=$1 | |
fi | |
if [ ! -z $FILENAME ]; then | |
FILENAME=/dev/stdout | |
fi | |
echo '#!/usr/bin/python' > $FILENAME | |
echo '#' >> $FILENAME | |
echo '# Youll thank me for this' >> $FILENAME |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment