09-11-2009
Hi Panyam,
I used the your code with a bit of modification to suit my requirement and it worked fine, Thanks
Code I used is: -
'FILENAME=="File1" {A[$1]=$2} FILENAME=="File2" {if (A[$1]) {print($1" "A[$1]" "$2" "A[$1]-$2)}}' File1 File2>>File3
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
i have 2 files
file 1---------> hello
file 2---------> hello world
is there any command that we find the diff b/w two files and gives the ans as what is not matched with file 2.
diff file 1 file 2
here the desired o/p should be: world
as "world" is not found in file 1. (2 Replies)
Discussion started by: ali560045
2 Replies
2. Shell Programming and Scripting
I know the basic difference between .pm and .pl files. But wat puzzles me is when to go for creating a module and when to create .pl files.Based on wat criteria we sholud decide to make a function whcih implements a common functionality as module or a .pl file ?? (3 Replies)
Discussion started by: Anuj8584
3 Replies
3. Shell Programming and Scripting
Hi All,
I need your help to find out the difference between 3 files.
How can i get the output which says that FILE2 contains additional (YYY,900,100) compare to FILE1 and FILE3 contains addition record (ZZZ,904,908) compare to FILE1?
I have tried using diff3 command, but was not able to get... (2 Replies)
Discussion started by: Amit.Sagpariya
2 Replies
4. Shell Programming and Scripting
HI Folks,
sorry if it is a naive question.
i have two files . "file1.txt" & "file2.txt"
contents in files:
file1.txt file2.txt
-------- ---------
1 ... (2 Replies)
Discussion started by: babusek
2 Replies
5. Shell Programming and Scripting
Hi All,
****************************************************************
File1:
CREATE TABLE "TESTIHUB"."CINEMA"
( "NAME" VARCHAR2(20),
"ACTOR" VARCHAR2(20),
"YEAR" NUMBER
);
/
CREATE TABLE "TESTIHUB"."PANT"
( "CNAME" VARCHAR2(20),
"AMOUNT" NUMBER, ... (1 Reply)
Discussion started by: naree
1 Replies
6. Shell Programming and Scripting
i have two files A and B and i want the difference to be printed in file C
as in example below
File A
10E32E7BCC5881DDB6||002878|1|1|
10E32E7BCC5881DDB7||002878|1|1|
10E32E7BCC5881DDB8||002878|1|1|
10E32E7BCC5881DDB9||002878|1|1|
File B
10E32E7BCC5881DDB1||002878|1|1|... (4 Replies)
Discussion started by: tomjones
4 Replies
7. UNIX for Advanced & Expert Users
I need the get the difference between 2 files and the result, I need to output it to an other file
file1
1
1
2
file2
1
1
2
3
Result....File3=3
used diff file1 file2 > file3 ( not working as expected)..Exact requirement..I have 2 flatfiles to compare and load only the difference in a... (0 Replies)
Discussion started by: win4luv
0 Replies
8. UNIX for Dummies Questions & Answers
Hi all,
I have problem in finding the difference. suppose i have two file
file1 file2
1xyz 1xyz
1asd 1xyz
1asd 1abc
2adf 1asd
3asd 2abd
4abc 2adf
3asf
I need to... (7 Replies)
Discussion started by: XXLMMN
7 Replies
9. Shell Programming and Scripting
HI Team,
Could you please help me here.
I need to compare 4 files
a)
1
2
3
4
b)
1
5
3
4
c)
1
2
5 (1 Reply)
Discussion started by: madhuchilipi
1 Replies
10. UNIX for Beginners Questions & Answers
I have two file as given below which shows the ACL permissions of each file. I need to compare the source file with target file and list down the difference as specified below in required output. Can someone help me on this ?
Source File
*************
# file: /local/test_1
# owner: own
#... (4 Replies)
Discussion started by: sarathy_a35
4 Replies
LEARN ABOUT DEBIAN
gnunet-unindex
GNUNET-UNINDEX(1) General Commands Manual GNUNET-UNINDEX(1)
NAME
gnunet-unindex - a command line interface for deleting indexed files from GNUnet
SYNOPSIS
gnunet-unindex [OPTIONS] FILENAME
DESCRIPTION
gnunet-unindex is used for deleting indexed files from GNUnet.
-c FILENAME, --config=FILENAME
use config file (defaults: ~/.gnunet/gnunet.conf)
-h, --help
print help page
-L LOGLEVEL, --loglevel=LOGLEVEL
Change the loglevel. Possible values for LOGLEVEL are NOTHING, ERROR, WARNING, INFO and DEBUG.
-v, --version
print the version number
-V, --verbose
be verbose
NOTES
You can only unindex files that you indexed and that you still have available locally in full. You should use gnunet-unindex on files that
you indexed (not inserted) and that you are going to delete or move locally.
FILES
~/.gnunet/gnunet.conf
GNUnet configuration file
REPORTING BUGS
Report bugs to <https://gnunet.org/bugs/> or by sending electronic mail to <gnunet-developers@gnu.org>
SEE ALSO
gnunet-fs-gtk(1), gnunet-publish(1), gnunet-search(1), gnunet-download(1), gnunet.conf(5)
GNUnet 6 Sep 2009 GNUNET-UNINDEX(1)