Random em Shell Script?!?

Started by Cloudy, 11 de March , 2006, 11:00:07 AM

Previous topic - Next topic

0 Members and 4 Guests are viewing this topic.

Cloudy

Não sei se já foi problema de alguém aqui precisar usar alguma coisa como a funçao random em Shell Script, e se já foi, seu pobremas acabaram-se!

$RANDOM é uma váriavel de sistema, e adivinha o que ela faz... Ahn? Ahn? Isso! Na mosca!

Eu vou postar aqui um Link muito interessante, que fala bastante sobre $RANDOM, nsa verdade fala tudo que vc precisa saber.

$Randon

...by Cloudy
"You have to be trusted by the people tou lied to, so when they turn their back on you, you have the chance to the put the knife in." (Roger Waters)

...by Cloudy

slul

Pô desa eu não sabia esses dias tava fazendo um programa que tirava uma foto por segundo e só consegui fazer em perl.

Quando fui tentar em sh nao consegui depois vo tentar refazer usando o $random

Flws

rodweb

legal...dessa eu não sabia tbm, tava querendo algo assim  ;)