Skip to content

Instantly share code, notes, and snippets.

@bisignam
Last active February 11, 2020 15:52
Show Gist options
  • Save bisignam/1435752162341ef76942064dda55fdca to your computer and use it in GitHub Desktop.
Save bisignam/1435752162341ef76942064dda55fdca to your computer and use it in GitHub Desktop.
cat gun_to_change.csv | awk -F ',' '{print "update t_company set gun_number = \x27"$3"\x27 where gun_number = \x27"$2"\x27;" }'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment