01-23-2008
I have searched the forum and got the answer for this...I used "comm"
Thanks
JS
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I an unix newbie and am confused about the working of "comm".
I have two files to be compared and the three columns of output after comparison should be stored a three separate files.
File abc
--------
pink
orange
green
blue
black
maroon
File xyz
---------
pink
yellow
grey... (3 Replies)
Discussion started by: manthasirisha
3 Replies
2. Shell Programming and Scripting
Hi,
I have two big .txt files.and i need to compare those two files and redirect it into some other file.
If any body wants to resolve this issue then i can send the two text files.
Need some quick responce.
Thanks,
prakash (10 Replies)
Discussion started by: prakash123
10 Replies
3. Solaris
Dear experts,
In a directory i have both *.TXT and *.txt files. I have a script-
for file in `ls *.txt`; do
mv $file /tmp/$file
How to list both *.txt and*.TXT file in one command so that script will move both .txt or .TXT whatever it find.
br//purple (4 Replies)
Discussion started by: thepurple
4 Replies
4. Shell Programming and Scripting
EDIT: My problems have been solved thanks to the help of bartus11 and pravin27
This code is just to help me learn. It serves no purpose other than that.
Here's a sample csv that I'm working with -
#listofpeeps.csv
Jackie Chan,1954,M
Chuck Norris,1930,M
Bruce Lee,1940,M
This code is... (13 Replies)
Discussion started by: chickeneaterguy
13 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I need to compare two text files with awk.
File1:
-------
chr1 43815007 43815009 COSM19193 REF=TG;OBS=AA;ANCHOR=G AMPL495041
chr1 43815008 43815009 COSM18918 REF=G;OBS=T;ANCHOR=T AMPL495041
chr1 115256527 115256528 ... (6 Replies)
Discussion started by: RushiK
6 Replies
6. Shell Programming and Scripting
i am working on a shell script and need help in the comparing part of it. for e.g. there two text files like this:
file1.txt
Code:
name1
name2
name3
file1 has to be comared with file2
defaultfile.txt
Code:
name1
name2 (16 Replies)
Discussion started by: draghun9
16 Replies
7. Shell Programming and Scripting
Hi,
I have some .dat files in some directories , i want them to be moved to another directory by changing file names.
for ex:
cat > /ai/rcmid/feb_files/temp/temp.txt
aaa.dat
bbb.dat
rm -rf main
rm -rf a001
rm -rf a002
mkdir main
mkdir a001
mkdir a002
touch a001/aaa.dat
touch... (1 Reply)
Discussion started by: Ravindra Swan
1 Replies
8. UNIX for Dummies Questions & Answers
Hi,
one of the server, log directory was never cleaned up. We have so many files. I want to remove all the files that starts with dfr* but I get error message when I use the *.
rm qfr*
bash: /usr/bin/rm: Arg list too long
I am trying to write this script but not working.
... (4 Replies)
Discussion started by: samnyc
4 Replies
9. Shell Programming and Scripting
Hi,
Below are the sample data for txt files.
txt file 1
Partnumber|catgroup_id
10001082|46016
10001093|4680
10001093|386003
10001093|463004
10003251|683
10003251|63005
10003252|463005
10003252|4683
10003260|463005
10003260|4683
10003264|4683
10003264|463005
13420000|67... (5 Replies)
Discussion started by: Ankita Talukdar
5 Replies
LEARN ABOUT DEBIAN
debbugsconfig
DEBBUGSCONFIG(8) System Manager's Manual DEBBUGSCONFIG(8)
NAME
debbugsconfig - copy basic debbugs configuration files from templates
SYNOPSIS
debbugsconfig
DESCRIPTION
debbugsconfig will copy basic debbugs configuration files from templates if the files do not already exist, and will also create BTS user
documentation in HTML and text. It should be run on installation and whenever /etc/debbugs/config or /etc/debbugs/text are changed.
FILES
debbugsconfig creates the following template configuration files in $gConfigDir (/etc/debbugs by default):
config General debbugs configuration file.
text Longer messages output by debbugs.
Maintainers
Index of maintainers for each package. This will typically be automatically generated.
Maintainers.override
Manual overrides for the maintainer index.
pseudo-packages.description
Descriptions of any entries in the system's maintainer index that do not correspond to "real" packages. For example, the
Debian Project uses pseudo-packages for bugs against facilities such as the Debian web site, the mailing list archives, and
the bug tracking system itself.
sources
Index of source packages corresponding to each package. This may be used when several packages are produced from a single
source, in which case the bug tracking system will group them together with links in the web front-end.
debbugsconfig creates the following template state files in $gSpoolDir (/var/lib/debbugs/spool by default):
nextnumber
The file which records the tracking number that will be assigned to the next incoming bug report.
index.archive.realtime
Real-time index of archived bugs. Created empty.
index.db.realtime
Real-time index of non-archived bugs. Created empty.
debbugsconfig creates the following documents in $gWebDir (/var/lib/debbugs/www by default):
index.html
Main contents page.
Access.html, bug-log-access.txt
Description of how to access bug reports.
Reporting.html, bug-reporting.txt
Advice on reporting bugs.
server-control.html, bug-maint-mailcontrol.txt
Introduction to the bug control and manipulation mail server.
server-refcard.html, bug-mailserver-refcard.txt
Mail servers' reference card.
server-request.html, bug-log-mailserver.txt
Introduction to the bug system request server.
AUTHORS
debbugsconfig was originally written by Darren Benham and later rewritten by Josip Rodin. Colin Watson wrote this man page.
DEBBUGSCONFIG(8)