9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Guys i have 3 files,
but i want to compare and diff only the 2nd column
path=`/home/whois/doms`
for i in `cat domain.tx`
do
whois $i| sed -n '/Registry Registrant ID:/,/Registrant Email:/p' > $path/$i.registrant
whois $i| sed -n '/Registry Admin ID:/,/Admin Email:/p' > $path/$i.admin... (10 Replies)
Discussion started by: kenshinhimura
10 Replies
2. UNIX for Dummies Questions & Answers
Hi guys - I have two files that have random number values and I want to see what is available in file A and not in file B
Here is what each file looks like:
File A:
1
45
11
788
556
File B:
774
1
5589
788
10025 (4 Replies)
Discussion started by: DallasT
4 Replies
3. Shell Programming and Scripting
Hi I want to compare two rows in unix
first value in row is 1.12 while value in other row is 000001.12.
if i do normal diff this will come as difference...is it any way to overcome this? (1 Reply)
Discussion started by: sanranad
1 Replies
4. Shell Programming and Scripting
Hi Masters,
I have two files named file1 and file2.
Both the files contains the same contents with some difference in comments,space.But no content change.
I tried to find the diff between the two files to make sure that contents are same.
For that i tried
diff -ibw file1 file2
But... (1 Reply)
Discussion started by: ecearund
1 Replies
5. UNIX for Dummies Questions & Answers
can some 1 tel me wat is difference between unix and linux. and from where i can download unix for free (5 Replies)
Discussion started by: rohansaurav
5 Replies
6. Shell Programming and Scripting
I need to compare 2 diff type of files and find out the duplicate after comparing each types of files:
Type 1 file name is like: file1.abc
(the extension abc could any 3 characters but I can narrow it down or hardcode for 10/15 combinations).
The other file is file1.bcd01abc (the extension... (2 Replies)
Discussion started by: ricky007
2 Replies
7. Shell Programming and Scripting
Hi ,
I wanted to find delata between two huge ( 8 GB ) files . Say file_TDY and file_YDY : These files are sorted based on a key .
I am using a command :
1)bdiff file_TDY file_YDY > diff_file
2) grep ' ^< ' diff_file > TDY_delta
I wanted only the changed records and newly added... (2 Replies)
Discussion started by: ajaybalki
2 Replies
8. Shell Programming and Scripting
Hi All,
In my work environment, our workis to run N number of SQL statements
continously.. Actually we are in testing environment. And for this we write 100 of SQL's and execute each one after another at Windows SQL prompt.
Some of the SQL's will be running for about 12 hrs also.
... (1 Reply)
Discussion started by: cheche
1 Replies
9. Shell Programming and Scripting
Hello,
I want to compare two files. All records in file 2 that are not in file 1 should be output to file 3.
For example:
file 1
123
1234
123456
file 2
123
2345
23456
file 3 should have
2345
23456
I have looked at diff, bdiff, cmp, comm, diff3 without any luck! (2 Replies)
Discussion started by: blt123
2 Replies