07-19-2009
Can you give me one example....
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi
I have two files in unix. I need to compare two files and print the differed lines in other file
Eg
file1
1111
2222
3333
file2
1111
2222
3333
4444
5555
newfile
4444
5555
Thanks In advance (3 Replies)
Discussion started by: evvander
3 Replies
2. Shell Programming and Scripting
Hi Experts,
The question may look very silly by seeing the title, but please have a look at it clearly.
I have a text file where the first 5 columns in each row were supposed to be attributes of a sample(like sample name, number, status etc) and the next 25 columns are parameters on which... (3 Replies)
Discussion started by: ks_reddy
3 Replies
3. Shell Programming and Scripting
Hi,
I have two tab separated files;
file1:
S.No ddi fi cu o/l t+ t-
1 0.5 0.6 o 0.1 0.2
2 0.2 0.3 l 0.3 0.4
3 0.5 0.8 l 0.1 0.6
... (5 Replies)
Discussion started by: vasanth.vadalur
5 Replies
4. Shell Programming and Scripting
one file
. . importing table employee 119
. . importing table jobs 1
2nd file
. . importing table employee 120
. . importing table jobs 1
and would like... (2 Replies)
Discussion started by: jhonnyrip
2 Replies
5. Shell Programming and Scripting
hi! i researched about comparing two columns here and got an answer. but after examining my two files, i found out that the first columns of the two files are not unique with each other. all i want to compare is the 2nd and 3rd column.
FILE 1:
ABS 456 315
EBS 923 163
JYQ3 654 237
FILE 2:... (1 Reply)
Discussion started by: engr.jay
1 Replies
6. Shell Programming and Scripting
hi! i have two files that looks like this
file 1:
ABS 123 456
BCDG 124 542
FGD 459 762
file 2:
ABS 132 456
FGD 459 762
output would be:
from file1:
ABS 132 456
BCDG 124 542
from file 2:
ABS 132 456 (4 Replies)
Discussion started by: kingpeejay
4 Replies
7. Shell Programming and Scripting
Hello. I have two files. FILE1 was extracted from FILE2 and modified thanks to help from this post. Now I need to replace the extracted, modified lines into the original file (FILE2) to produce the FILE3.
FILE1
1466 55.27433 14.72050 -2.52E+03 3.00E-01 1.05E+04 2.57E+04
1467 55.27433... (1 Reply)
Discussion started by: jm4smtddd
1 Replies
8. Shell Programming and Scripting
Hi,
I have multiple files that each contain one column of strings:
File1:
123abc
456def
789ghi
File2:
123abc
456def
891jkl
File3:
234mno
123abc
456def
In total I have 25 of these type of file. (5 Replies)
Discussion started by: owwow14
5 Replies
9. Shell Programming and Scripting
Hi,
I want to compare two columns from file1 with another two column of file2 and print matched and unmatched column like this
File1
1 rs1 abc
3 rs4 xyz
1 rs3 stu
File2
1 kkk rs1 AA 10
1 aaa rs2 DD 20
1 ccc ... (2 Replies)
Discussion started by: justinjj
2 Replies
10. Shell Programming and Scripting
Hello Unix gurus,
I have a file with this format (example values):
label1 1 0
label2 1 0
label3 0.4 0.6
label4 0.5 0.5
label5 0.1 0.9
label6 0.9 0.1
in which:
column 1 is a row label
column 2 and 3 are values
I would like to do a simple operation on this table and get the... (8 Replies)
Discussion started by: ksennin
8 Replies
PLOT(5) File Formats Manual PLOT(5)
NAME
plot - graphics interface
DESCRIPTION
Files of this format are produced by routines described in plot(3X) and plot(3F), and are interpreted for various devices by commands
described in plot(1G). A graphics file is a stream of plotting instructions. Each instruction consists of an ASCII letter usually fol-
lowed by bytes of binary information. The instructions are executed in order. A point is designated by four bytes representing the x and
y values; each value is a signed integer. The last designated point in an l, m, n, a, or p instruction becomes the `current point' for the
next instruction. The a and c instructions change the current point in a manner dependent upon the specific device.
Each of the following descriptions begins with the name of the corresponding routine in plot(3X).
m move: The next four bytes give a new current point.
n cont: Draw a line from the current point to the point given by the next four bytes.
p point: Plot the point given by the next four bytes.
l line: Draw a line from the point given by the next four bytes to the point given by the following four bytes.
t label: Place the following ASCII string so that its first character falls on the current point. The string is terminated by a newline.
a arc: The first four bytes give the center, the next four give the starting point, and the last four give the end point of a circular
arc. The least significant coordinate of the end point is used only to determine the quadrant. The arc is drawn counter-clockwise.
c circle: The first four bytes give the center of the circle, the next two the radius.
e erase: Start another frame of output.
f linemod: Take the following string, up to a newline, as the style for drawing further lines. The styles are `dotted,' `solid,' `long-
dashed,' `shortdashed,' and `dotdashed.' Effective only in plot 4014 and plot ver.
s space: The next four bytes give the lower left corner of the plotting area; the following four give the upper right corner. The plot
will be magnified or reduced to fit the device as closely as possible.
Space settings that exactly fill the plotting area with unity scaling appear below for devices supported by the filters of plot(1G).
The upper limit is just outside the plotting area. In every case the plotting area is taken to be square; points outside may be dis-
playable on devices whose face isn't square.
4013 space(0, 0, 780, 780);
4014 space(0, 0, 3120, 3120);
ver space(0, 0, 2048, 2048);
300, 300s space(0, 0, 4096, 4096);
450 space(0, 0, 4096, 4096);
SEE ALSO
plot(1G), plot(3X), plot(3F), graph(1G)
7th Edition May 15, 1985 PLOT(5)