06-20-2009
I also have this kind of problem. The code above deletes the lines which are alike on the two files. How can i do this, on a separate file?
File 3:
#from first file
a3px lm4 xpm
0wmp jga1 wmp6
#from second file
a3px lm4 xpj
0xmp lm4 xpm
thanks a lot!
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How do I find matching lines between two files? (5 Replies)
Discussion started by: jojojmac5
5 Replies
2. Shell Programming and Scripting
I am using solaris, need either awk/shell or perl script to compate two files.
both of these file1 and file2 are located in two diffent location path in the same server.
file1 location: /export/db/mna
file2: /etc/dba
The script will compare in file1 first field (e.g. abc00asp)before colon:... (8 Replies)
Discussion started by: amir07
8 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
Hi everyone
I have a dilemma and I'm hoping someone has an answer for me.
I have two files:
# cat masterfile
line3
line4
line5
line6
line7
# cat tempfile
line1
line2
line3
line4
I want to compare tempfile with masterfile. (3 Replies)
Discussion started by: soliberus
3 Replies
5. Shell Programming and Scripting
Hi,
Can anyone help me to compare two files and get the matching data... say i have file1 and file2 ... file1 has 300 unique data with that i need to match with file2 to see how may are matching.. file2 have 1000 records. (4 Replies)
Discussion started by: zooby
4 Replies
6. Shell Programming and Scripting
Have two files and want to compare the content of file1 with file2. When matched remove the line.
awk 'NR==FNR {b; next} !(b in $0)' file1 file2file1
1. if match
2. removefile2
1. this line has to be removed if match
2. this line has a match, remove
3. this line has no match, no removingThe... (3 Replies)
Discussion started by: sdf
3 Replies
7. Shell Programming and Scripting
Hello,
I have two files file 1 and file 2 each having result of a query on certain database tables and need to compare for Col1 in file1 with Col3 in file2, compare Col2 with Col4 and output the value of Col1 from File1 which is a) not present in Col3 of File2 b) value of Col2 is different from... (2 Replies)
Discussion started by: RasB15
2 Replies
8. Shell Programming and Scripting
I have 2 files. File 1 has more columns (6 columns but the last column has spaces) than file 2 (file 2 has 4 columns). The entries in file 1 do not change but column 4 in file 2 can be different from the the entry in file 1. I want to create a script that reads in file 1 and then uses column 1 2... (5 Replies)
Discussion started by: kieranfoley
5 Replies
9. Linux
hi,
i have a cache file with below file list
more gtda_11.cache
GTDA_Dly_Pmix_GB_6_20130624.20130624070610.psv
GTDA_Dly_Pmix_CH_006_20130624.20130624140018.psv
GTDA_Dly_Pmix_GB_6_20130624.20130624070620.psv
GTDA_Dly_Pmix_BE_6_20130624.20130624070620.psv... (2 Replies)
Discussion started by: renuk
2 Replies
10. Shell Programming and Scripting
Dear All,
I would like to compare two files and return the number of matches found.
Example
File A
Lx2
L1_Mus1
L1Md_T
Lx5
L1M2
L1_Mus3
Lx3_Mus
Lx9
Lx2A
L1Md_A
L1Md_F2
File B
L1_Mus3
L1_Mus3 (3 Replies)
Discussion started by: paolo.kunder
3 Replies
LEARN ABOUT DEBIAN
timetunnel
timetunnel(6x) XScreenSaver manual timetunnel(6x)
NAME
timetunnel - Plasma tunnels fade in and out
SYNOPSIS
timetunnel [-display host:display.screen] [-visual visual] [-window] [-root] [-start number] [-end number] [-dilate number] [-no-logo]
[-reverse] [-no-fog] [-no-texture] [-wireframe] [-fps] [-tardis texture] [-head texture] [-marquee texture] [-tun1 texture] [-tun2 texture]
[-tun3 texture]
DESCRIPTION
Draws an animation similar to the opening and closing effects on the Dr. Who television show.
OPTIONS
-visual visual
Specify which visual to use. Legal values are the name of a visual class, or the id number (decimal or hex) of a specific visual.
-window Draw on a newly-created window. This is the default.
-root Draw on the root window.
-start number
Start time of loop, 0.0 - 30.00. Default 0.0. May be identical to end time.
-end number
End time of loop, 0.0 - 30.00. Default 27.79. May be identical to start time.
-dilate number
Scale time to speed or slow simulation. Numbers less than one slow it down.
-no-logo
Show only tunnels, no logos, etc.
-reverse
Play in reverse, including tunnels.
-no-fog Turn off fog.
-no-texture
Turn off textures.
-wireframe
Show as wire frame.
-fps | -no-fps
Whether to show a frames-per-second display at the bottom of the screen.
-tardis texture
Specify an xpm file to override default tardis texture.
-head texture
Specify an xpm file to override default Dr. Who head texture.
-marquee texture
Specify an xpm file to override default show marquee texture.
-tun1 texture
Specify an xpm file to override default tardis tunnel texture.
-tun2 texture
Specify an xpm file to override default middle tunnel texture.
-tun3 texture
Specify an xpm file to override default final tunnel texture.
ENVIRONMENT
DISPLAY to get the default host and display number.
XENVIRONMENT
to get the name of a resource file that overrides the global resources stored in the RESOURCE_MANAGER property.
SEE ALSO
X(1), xscreensaver(1)
COPYRIGHT
Copyright (C) 2005 by Sean Brennan. Permission to use, copy, modify, distribute, and sell this software and its documentation for any pur-
pose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and
this permission notice appear in supporting documentation. No representations are made about the suitability of this software for any pur-
pose. It is provided "as is" without express or implied warranty.
AUTHOR
Sean Brennan <zettix@yahoo.com>
X Version 11 5.15 (28-Sep-2011) timetunnel(6x)