Skip to content

Instantly share code, notes, and snippets.

@alexgman
Forked from martinbpeters/ColumnRemover.sh
Last active August 29, 2015 14:25
Show Gist options
  • Save alexgman/e2c81d2b8f54a749aced to your computer and use it in GitHub Desktop.
Save alexgman/e2c81d2b8f54a749aced to your computer and use it in GitHub Desktop.
remove everything except 2nd column
#!/bin/sh
cat $1 | awk '{ $2="";print}' >> $2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment