shithub: rc

ref: 04ac06d9e295f6fd6f2746dced548f8391732ddb
dir: /bin/shl/

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