Skip to content

Instantly share code, notes, and snippets.

@premasagar
Last active August 29, 2015 14:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save premasagar/96cae83b75bd8bf4051b to your computer and use it in GitHub Desktop.
Save premasagar/96cae83b75bd8bf4051b to your computer and use it in GitHub Desktop.
prepend "use strict"
FILE=path/to/file.js && echo '"use strict";\n' | cat - $FILE > /tmp/out && mv /tmp/out $FILE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment