Skip to content

Instantly share code, notes, and snippets.

@NapoleonWils0n
Created November 11, 2012 19:33
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NapoleonWils0n/4056002 to your computer and use it in GitHub Desktop.
Save NapoleonWils0n/4056002 to your computer and use it in GitHub Desktop.
bash: tr replace characters
#!/bin/sh
# ======
# = tr =
# ======
# Use the tr command to translate one character to another.
tr ';' ',' <before.txt >after.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment