Mercurial > lbo > hg > localmr
view testdata/generate_sorted_files.sh @ 49:8a2538cbac8a
Turns out, you have to use the same sorting function everywhere for the sort to work.
author | Lewin Bormann <lbo@spheniscida.de> |
---|---|
date | Wed, 03 Feb 2016 20:50:34 +0000 |
parents | 17cd79f05e93 |
children | a0647ae635e2 |
line wrap: on
line source
#!/bin/bash for I in {0..10}; do cat /dev/urandom | tr -dc "\n[:alnum:]" | egrep '[[:alnum:]]{15,}' | colrm 16 | head -n 1000000 | sort > sorted${I}.txt; done