shithub: rc

ref: e3dc64f9404e3100f5ef0f8bdbe1cf549450d999
dir: /bin/shl/

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