shithub: rc

ref: b73e977f5d4b5a1cc37b1d15bf7db8c5d98d014b
dir: /shl/

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