From owner-freebsd-questions Thu May 17 1:19:24 2001 Delivered-To: freebsd-questions@freebsd.org Received: from thor.oit.pdx.edu (thor.oit.pdx.edu [131.252.120.40]) by hub.freebsd.org (Postfix) with ESMTP id D087137B423 for ; Thu, 17 May 2001 01:19:21 -0700 (PDT) (envelope-from singh@pdx.edu) Received: from freke.odin.pdx.edu (freke.odin.pdx.edu [131.252.120.43]) by thor.oit.pdx.edu (8.11.1/8.11.1) with ESMTP id f4H8JL601264 for ; Thu, 17 May 2001 01:19:21 -0700 (PDT) Received: from localhost (singh@localhost) by freke.odin.pdx.edu (8.11.1/8.11.1) with ESMTP id f4H8JLS24763 for ; Thu, 17 May 2001 01:19:21 -0700 (PDT) X-Authentication-Warning: freke.odin.pdx.edu: singh owned process doing -bs Date: Thu, 17 May 2001 01:19:20 -0700 (PDT) From: Harkirat Singh X-X-Sender: To: Subject: RANDOM - Problem Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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