shithub: rc

ref: acb46da94f5ae1612636f4e3d5386b16ac2f62e5
dir: /bin/shl/

View raw version
#!/bin/rc
awk '
BEGIN{
	srand()
}
{
	printf "%06d	%s\n", rand() * 1000000, $0
}
' |\
	sort -n |\
	sed 's/^[0-9]+	//'