Skip to content

Instantly share code, notes, and snippets.

@waffle2k
Created February 20, 2013 15:57
Show Gist options
  • Save waffle2k/4996589 to your computer and use it in GitHub Desktop.
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.
#!/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