Unlike all other operators, the following relational operators are only valid as the object of an if or while statement or inside a for statement:
< (less than)
> (greater than)
<= (less than, equal sign)
>= (greater than, equal sign)
== (double equal sign)
!= (exclamation, equal sign)
Thanks,
Matt
---------- Post updated at 05:00 PM ---------- Previous update was at 04:59 PM ----------
Hey vgersh99, thanks for the reply!!
Cool... I'll give that a try and post back.
Thanks Again,
Matt
---------- Post updated at 05:05 PM ---------- Previous update was at 05:00 PM ----------
Hey vgersh99, I haven't gotten a chance to try that yet. I have to deal with another issue here at work, and it's almost closing time!!!
So I'll post back first thing tomorrow with my results. Thanks!
Thanks Again,
Matt
---------- Post updated 12-13-12 at 10:26 AM ---------- Previous update was 12-12-12 at 05:05 PM ----------
Hey vgersh99 thanks, that did it!
I'm using this in a function that I will call in my script in order to do a Relational Expression (i.e. >, <, <=, >=, ==) on
floating point numbers
Thanks guys for all your help!!
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Hi, everyone.
I need to write a program to get io info based on libperfstat.
But the "write time" of a disk is just half of the value get from iostat.
I'm confused and can't explain. Help please.
How I calculate "write service time per sec":
In iostat:
write service... (0 Replies)
Hello,
I am reading one of the AIX manuals about shell scripting and (AIX 5) and I found this example when introducing to functions:
function usage
{
prog="$1"; shift
print -u2 "$prog: usage: $prog $@"
exit 1
}
This example is meant to be easy but I don't understand what it is... (5 Replies)
Hello All,
I am running source command on my project configuration file app.cfg which has conditional statements with make file systax E.g ifeq ($(APP_CMP_DIR),trunk).
When I source this file it throws error: syntax error near unexpected token... (1 Reply)
Hello All,
I have something like below
LDC100/rel/prod/libinactrl.a
LAA2000/rel/prod/libinactrl.a
I want to remove till first forward slash that is outputshould be as below
rel/prod/libinactrl.a
rel/prod/libinactrl.a
How can I do that ??? (8 Replies)
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
I have 2000 files named like "file-fr0000.log", "file-fr1999.log"...
I wanna generate the file names automatically in the following c shell script:
set fr = 0
while ($fr <= 1999)
grep "ENERGY" file-fr$fr.log > data.dat
@ fr = ( $fr + 1 )
end
The above will generate file names... (3 Replies)