Skip to content

Instantly share code, notes, and snippets.

@johnchristopher
Created April 14, 2013 23:17
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 johnchristopher/5384652 to your computer and use it in GitHub Desktop.
Save johnchristopher/5384652 to your computer and use it in GitHub Desktop.
#! /bin/sh
#
sed 's/t p/t-p/gi' $1 |
sed 's/c s/c-s/gi' |
sed 's/c e/c-e/gi' |
sed 's/d p/d-p/gi' |
sed 's/N s/N-s/gi' |
sed 's/l I/l-I/gi' |
sed 's/P A/P-A/gi' |
sort -k1 |
awk '{print $1" "$3" "$4" "$5" "$6" "$7}'|
# cut -d " " -f1,5- |
column -t
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment