Date: Thu, 17 May 2001 01:19:20 -0700 (PDT) From: Harkirat Singh <singh@pdx.edu> To: <questions@FreeBSD.ORG> Subject: RANDOM - Problem Message-ID: <Pine.GSO.4.31.0105170114400.24725-100000@freke.odin.pdx.edu>
next in thread | raw e-mail | index | archive | help
Hello: I have small question, I have a bash shell and if I type echo $RANDOM then I get the proper integer. Now if I write a small test script (test.sh) like: #!/bin/bash number=$RANDOM echo $number then on shell if I say >sh test.sh Then I do'nt see any output?? I feel it strange!! -harkirat To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.31.0105170114400.24725-100000>