view testdata/generate_sorted_files.sh @ 51:a0647ae635e2

...
author Lewin Bormann <lbo@spheniscida.de>
date Wed, 03 Feb 2016 21:31:12 +0000
parents 17cd79f05e93
children 2e7fba6d7cad
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