shithub: rc

ref: 81cd5a1a4b808fc39e5e2e13c2487aafd6c60206
dir: /bin/shl/

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