Skip to content

Instantly share code, notes, and snippets.

@2get
Created June 24, 2015 05:27
Show Gist options
  • Save 2get/3daa9a786a0f0c8d9f06 to your computer and use it in GitHub Desktop.
Save 2get/3daa9a786a0f0c8d9f06 to your computer and use it in GitHub Desktop.
sekigae2015
cat names.txt | while read x; do echo -e “$RANDOM\t$x"; done | sort -k1,1n | cut -f 2- | paste - - - | column -t
cat names.txt | sort -R | paste - - - | column -t
@2get
Copy link
Author

2get commented Jun 24, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment