oleiade / stamp

A simple license applier python script. Allows user to easily apply a specified license to some files.
Apache License 2.0
4 stars 1 forks source link

check shebang presence in files #3

Closed oleiade closed 12 years ago

oleiade commented 12 years ago

being able to seek a shebang in a given file (file extension headers such as #!/usr/bin/env python for example).

oleiade commented 12 years ago

Done. has_shebang function returns a string if it has any, it's a bit too much generic for me. Might be improved.