Skip to content

Instantly share code, notes, and snippets.

@premasagar
Last active Aug 29, 2015
Embed
What would you like to do?
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