03-02-2005
3 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I don't understand this, can anyone explain the evaluation logic used here, and I would really appreciate a general explanation for it.
----------------------
Here's the korn script:
--------------------
#! /usr/bin/ksh
if ]
then
echo true
else
echo false
fi
if (( 2 > 10 ))
then... (1 Reply)
Discussion started by: numstr
1 Replies
2. Shell Programming and Scripting
exam is a ksh script. In command line I enter: exam 3 param_2 param_3 param_4.
In exam how can I get the value of the parameter which position is specified by the first argument.
Simply doing this DOES NOT work:
offset=$1
value=$$offset
can you figure out any possible way to interpret a... (5 Replies)
Discussion started by: i27oak
5 Replies
3. UNIX for Dummies Questions & Answers
Hi all.
So I have a problem. I have been doing real good figuring this stuff out on my own but Im a newbie and stuck on something that is probably real basic.
I want to get the following output from the who command:
User TTY Date Time
gd22a12 pts/1 Feb 1 11:34
gd22a13 pts/3 Feb 1... (13 Replies)
Discussion started by: losingit
13 Replies