Dec 22, 2005 #1 T they Junior Member level 2 Joined Sep 14, 2004 Messages 24 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 265 tcsh srand Hi I have a question about C shell script. How to randomise the value of a variable in C shell (tcsh) script? is there a rand() or srand() command like in C? Thanks.
tcsh srand Hi I have a question about C shell script. How to randomise the value of a variable in C shell (tcsh) script? is there a rand() or srand() command like in C? Thanks.
Dec 28, 2005 #2 F fdarkangel Newbie level 6 Joined Dec 2, 2005 Messages 13 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,398 as far i know, no. but you can write a simple program that outputs a random number to stdout & pipe output.
as far i know, no. but you can write a simple program that outputs a random number to stdout & pipe output.