Skip to content

Instantly share code, notes, and snippets.

@aaronmyatt
Created November 19, 2015 02:05
Show Gist options
  • Save aaronmyatt/381aaf3e24edbaa90566 to your computer and use it in GitHub Desktop.
Save aaronmyatt/381aaf3e24edbaa90566 to your computer and use it in GitHub Desktop.
gawking cool
# wrap file in square brackets and output to new file
gawk '{ print "["$0"]" }' inputfile > outputfile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment