shithub: rc

ref: 60cf13ebe55d6250b595590ef556e5151a0f2a38
dir: /bin/shl/

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