Search Results

Search: Posts Made By: Dana Evans
4,275
Posted By Dana Evans
yes u r absolutely right it should be d e ...
yes u r absolutely right it should be
d
e
f
since here both file1 and file1 have same number of rows so row wise comparison is done for each line and if there is any variance the data from...
4,275
Posted By Dana Evans
Query in unix
hi ..
i m in gr8 confusion
for eg
two number of files 1 & 2
1 contains following
a
b
c

2 gives
a
b
d
e
on executing following command
diff 1 2 | grep ">" | sed 's/>//g'...
2,767
Posted By Dana Evans
hey thank you both of you the thing is that all...
hey thank you both of you
the thing is that all folders were not have rwx permission thats y :D
2,767
Posted By Dana Evans
Query in Unix
hello folks
i was executing few shell scripts using another login id , those were working fine ,these shell scripts basically call oracle stored procs
now when i copied those shell scripts files...
2,211
Posted By Dana Evans
hey jam_ali49 thnx a ton i was not sure about...
hey jam_ali49
thnx a ton
i was not sure about the i option in if statement .. ur post clarified it
:D
2,211
Posted By Dana Evans
Query in perl
can any1 give me line by line explanation for the following perl script
as i dunno perl .. n i have searched in google .. but still thn i wanna confirm my findings fro perl experts :mad:

perl -e...
16,178
Posted By Dana Evans
thnx a lottt matrixmardhan ..but ur soln was not...
thnx a lottt matrixmardhan ..but ur soln was not as per our req ..though it worked separately
16,178
Posted By Dana Evans
Hey bakunin n kahuna thanks a ton i think i...
Hey bakunin n kahuna
thanks a ton
i think i got to change my codes n look for other approach

as pointed by both of u rightly
"Also, normally SQL queries do not guarantee the order of records...
16,178
Posted By Dana Evans
well i came across options ( thanks to this...
well i came across options ( thanks to this forum) but following code i tried
comp1=$(cat file1 | cut -d"|" -f1,2)
comp2=$(cat file2 | cut -d"|" -f1,2)
for str in ${comp2 }
do
count=0
while...
16,178
Posted By Dana Evans
hey DRL thanks a ton!! for your help .. but...
hey DRL thanks a ton!! for your help ..
but again as per the requirement of boss it has to be done using Unix shell script ( plsql if required):(

the files file1 and file2 won't necessarily...
16,178
Posted By Dana Evans
for eg there are two files to be compared ...
for eg there are two files to be compared
file1
1111 | universe
2222 |good
3333 |good
4444 |good


file2
1111 | universe
3333 |universe
2222 |good
4444 |good


the contents of both...
16,178
Posted By Dana Evans
well i tried that it is displaying grep -vf...
well i tried that it is displaying
grep -vf file4 file3

mat

but criteria is that
i shud be getting rat and hat ( file 4 is assumed as updated version of file3 by the user concerned) as on...
16,178
Posted By Dana Evans
Hey Vino thanks a lottt !!!!! ..but again ur...
Hey Vino thanks a lottt !!!!! ..but again ur suggestion is applicable only when both the files have certain contents which are unique to that particular file and NOT found in other one ...

for eg ...
16,178
Posted By Dana Evans
Porter here NOT all lines begin in same way/with...
Porter here NOT all lines begin in same way/with same special characters

even i tried following the same stuff ( as suggested by u ) long time back

diff file1 file2 > diff_file.txt
cut -d"|"...
16,178
Posted By Dana Evans
hi yogesh diff is NOT solving the problem ( i...
hi yogesh diff is NOT solving the problem ( i have tried that)..
bcoz the output apart from giving the difference in file contents is also displaying line numbers and other special kind of ...
16,178
Posted By Dana Evans
Comparison of 2 files in UNIX
Hi, There are two files in UNIX system with some lines are exactly the same, some lines are not.
I want to compare these two files.The 2 files (both the files have data in Column format )should be ...
Showing results 1 to 16 of 16

 
All times are GMT -4. The time now is 12:11 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy