compare the interval of 2 numbers of input2with interval of several numbers of input1
Help plz
Does any one have any idea how to compare interval ranges of 2 files.
finding 1-4 (1,2,3,4) of input2 in input1 of same key "a" values (5-10, 30-40, 45-60, 80-90, 100-120 ). Obviously 1-4 is not one of the range with in input1 a. so it should give out of range.
finding 30-33(31,32,33) of input2 in input1 "y"values (5-10, 30-40, 45-60, 80-90, 91-120 )..........................should give with in the range
note:the first interval of input2 (like 1-4 0r 30-33 not 37-57 or 63-83)
only need to compare
Hi anyone,
i need to compare two decimal numbers
i thought that it could be do it with if but... :(
So, i'm writing in csh and i really apreciate if anyone can help me
if ( $ppl_kn <= $ppl_wb ) then
echo "############# KNdiscount model has the lowest perplexity"
set... (5 Replies)
Hi everyone,
I need to compare 2 big Floating/Real numbers in a script.
After the comparission it is showing worng values in my script.
echo "Enter value1"
read value1
echo "Enter value2"
read value2
Result=`echo "if($value1 > $value2) 1" | bc`
if ; then
echo "$value1 is... (4 Replies)
Hello,
I need help about a shell script
I have a text file with this fields:
2009/01/19 09:33:35: --> ---ORA-28817: PL/SQL function returned an error.
2009/01/19 09:33:35: --> ---ORA-28817: PL/SQL function returned an error.
2009/01/19 09:33:35: --> ---ORA-28817: PL/SQL function returned an... (4 Replies)
Howdy experts,
We have some ranges of number which belongs to particual group as below.
GroupNo StartRange EndRange
Group0125 935300 935399
Group2006 935400 935476
937430 937459
Group0324 935477 935549
... (6 Replies)
Hello All,
I am having problem to find what is the smallest number from 90% of highest numbers from all numbers in file. I am having file with thousands of lines and hundreds of columns.
I am familiar mainly with bash but I am open to whatever suggestion witch will lead to the solutions.
If I... (11 Replies)
Hi Gurus,
I have a script which loops a directory to find the file. right now, I want to add time interval which means every 15 minutes it checks the dir once. if all files are found, then exit with 0. if there are some files missing at 6:00am the process exit with 20. the script start at 7:00pm... (15 Replies)
Hi!
I found and then adapt the code for my pipeline...
awk -F"," -vOFS="," '{printf "%0.2f %0.f\n",$2,$4}' xxx > yyy
I add -F"," -vOFS="," (for input and output as csv file) and I change the columns and the number of decimal...
It works but I have also some problems... here my columns
... (7 Replies)
Suppose I have a word which is repeating in a string continuously. I have a set of intervals. Then how do I find the number occurrences of that word in those intervals and their location of occurrences. For example - Suppose there is a huge string anfie.......sirn of 10000 letters. Now the word... (2 Replies)
Discussion started by: ANKIT ROY
2 Replies
LEARN ABOUT HPUX
ualarm
ualarm(2) System Calls Manual ualarm(2)NAME
ualarm - set the interval timer
SYNOPSIS DESCRIPTION
The function causes the signal to be generated for the calling process after the number of real-time microseconds specified by the useconds
argument has elapsed. When the interval argument is non-zero, repeated timeout notification occurs with a period in microseconds specified
by the interval argument. If the notification signal, is not caught or ignored, the calling process is terminated.
Implementations may place limitations on the granularity of timer values. For each interval timer, if the requested timer value requires a
finer granularity than the implementation supports, the actual timer value will be rounded up to the next supported value.
Interactions between and either or are unspecified.
RETURN VALUE
The function returns the number of microseconds remaining from the previous call. If no timeouts are pending or if has not previously been
called, returns 0.
ERRORS
No errors are defined.
APPLICATION USAGE
The function is a simplified interface to and uses the interval timer.
SEE ALSO alarm(2), getitimer(2), sleep(3C), <unistd.h>.
CHANGE HISTORY
First released in Issue 4, Version 2.
ualarm(2)