Hi,
There is a file having a list of running PIDs and another file having
a list of registered PIDs. How can we check if each value of running
PIDs are less or more than the registered PIDs i.e. comparing the
value of each PID in both the files.
Request you to pls give your inputs. ... (2 Replies)
Hello all
while writing a small script , i got stuck with this simple thing.Hope you guyz can help.
Iam trying to read password
echo"enter password"
read $pwd
now i have to check this
echo"enter password to proceed"
read $pwd
now i have to check both the values of the... (2 Replies)
Hi all,
I have got a problem while comparing 2 text files and the result should contains the unique values(Non repeatable).
For eg:
file1.txt
1
2
3
4
file2.txt
2
3
So after comaping the above 2 files I should get only 1 and 4 as the output. Pls help me out. (7 Replies)
i have two file and i am comparing both..
in cmp1 ,the content is :
the nu of file is : <some integer value>
in cmp2 ,the content is :
the nu of file is :
so want a script which will take value (2) when cmp1 is compared with cmp2..
i mean cmp cmp1 cmp2 the the output will be
he nu of... (1 Reply)
Hi to all,
I have the following text within inputfile
data1,value1,value2
data1,value3,value2
data1,value5,value6
data2,value1,value2
data2,value3,value4
data3,value1,value2
data3,value3,value4
data4,value1,value2
data4,value3,value4
data4,value5,value6
I would like to... (4 Replies)
Hi all,
I am new to unix and I am trying hard to get this requirement, but no luck.
I am trying to compare two cloumns in two files and if it matches, the last column in file1 must be divided by file2 and the output must be written in a new file. To elaborate the 2nd column in file1 (EUR) must be... (6 Replies)
I have two text files where the first three columns are exactly the same. I want to compare the fourth column of the text files and if the values are different, print that row into a new output file. How do I go about doing that?
File 1:
100 rs3794811 0.01 0.3434
100 rs8066551 0.01... (8 Replies)
Hi,
I have two text files with matching first columns. Some of the values in the second column do not match. I want to write a script to print out the rows (only the first column) where the values in the second column do not match.
Example:
Input 1
A 1
B 2
C 3
D 4
Input 2
A 2
B 2... (6 Replies)
First I'd like to apologize if I opened a thread which is already open somewhere.
I did a bit of searching but could quite find what I was looking for, so I will try to explaing what I need.
I'm writing a script on our server, got to a point where I have two files with results. Example:
File1... (6 Replies)
I was trying to extract value of g1 and p1 only inside the tags where t1 is "Reading C (bytes)" and comparing them to make sure p1 is always less than g1. Here is the Json file I'm using -
File:-
{
"g1" : 1482568,
"n1" : "v_4",
"p1" : 0,
"s1" : "RC",
"t1" : "LM",
}
{
"g1" :... (3 Replies)
Discussion started by: Mannu2525
3 Replies
LEARN ABOUT REDHAT
xmscalesetticks
XmScaleSetTicks(library call) XmScaleSetTicks(library call)
NAME
XmScaleSetTicks -- A Scale function that controls tick marks
SYNOPSIS
#include <Xm/Scale.h>
void XmScaleSetTicks(
Widget scale,
int big_every,
Cardinal num_medium,
Cardinal num_small,
Dimension size_big,
Dimension size_medium,
Dimension size_small);
DESCRIPTION
XmScaleSetTicks controls the number, location, and size of the tick marks on a Scale. Each tick mark is a SeparatorGadget oriented perpen-
dicular to the Scale's orientation. For example, if the Scale is oriented horizontally, the tick marks will be oriented vertically.
If you specify tick marks for a Scale and then change the Scale's orientation, you will have to do the following:
o Remove all the tick marks. To remove tick marks from a Scale, you must destroy (with XtDestroyChildren) the SeparatorGadget tick
marks. The first two children of a Scale are its title and scroll bar, and all additional children are tick marks.
o Recreate the tick marks by calling XmScaleSetTicks.
scale Specifies the Scale widget ID that is getting the tick marks.
big_every Specifies the number of scale values between big ticks.
num_medium
Specifies the number of medium ticks between big values.
num_small Specifies the number of small ticks between medium values.
size_big Specifies the size (either width or height) of the big ticks.
size_medium
Specifies the size (either width or height) of the medium ticks.
size_small
Specifies the size (either width or height) of the small ticks.
For a complete definition of Scale and its associated resources, see XmScale(3).
RELATED XmScale(3).
XmScaleSetTicks(library call)