- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
#/bin/bash
gen()
{
rnd=$RANDOM
let length=rnd%25
rnd=$RANDOM
let one=rnd%10
one=$(echo $one|tr 0-9 A-Z)
text=$one
while [ "$length" -gt 0 ]; do
rnd=$RANDOM
let one=rnd%10
one=$(echo $one|tr 0-9 a-z)
text=$text$one
let length-=1
done
echo "Новый ник: $text"
}
while true;do
gen
sleep 1
done
AnalPerOral 23.07.2017 12:31 # 0
inho 23.07.2017 23:02 # −1
bormand 24.07.2017 19:04 # 0
Хм, т.е. только A-J?