Skip to content

Instantly share code, notes, and snippets.

@oluies
Created December 7, 2016 21:36
Show Gist options
  • Save oluies/8c7083f9ce016da4f8037d810aa2de43 to your computer and use it in GitHub Desktop.
Save oluies/8c7083f9ce016da4f8037d810aa2de43 to your computer and use it in GitHub Desktop.
echo "15;23;35#18;14;89" | tr '#' '\012' | awk -F';' '{for (i=1;i<=NF;i++){print NR, i, $(i)} }'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment