UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: printfChapter 11
The Awk Scripting Language
Next: Reference: return
 

rand

rand()

Generate a random number between 0 and 1. This function returns the same number each time the script is executed, unless the random number generator is seeded using the srand() function. {N}


Previous: Reference: printfUNIX in a Nutshell: System V EditionNext: Reference: return
Reference: printfBook IndexReference: return

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System