This is even true for shell scripting, see for instance http://www.tldp.org/LDP/abs/html/randomvar.html