Topics Topics Help/Instructions Help Edit Profile Profile Member List Register Paatha Gnyapakaalu - Archives from Old DB  
Search New Posts 1 | 2 | 8 Hours Search New Posts 1 | 3 | 7 Days Search Search Tree View Tree View Latest tweets Live Tweets
Bewarse Talk Discussion Board * Archives - 2011 * Cine Talk - Reviews, Gossips, Insider Info etc. * Archive through June 09, 2011 * Calling Unix experts < Previous Next >

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

Dobbey
Yavvanam Kaatesina Bewarse
Username: Dobbey

Post Number: 1210
Registered: 03-2011
Posted From: 136.174.187.5

Rating: N/A
Votes: 0 (Vote!)

Posted on Thursday, June 09, 2011 - 10:08 am:    Edit Post Delete Post View Post/Check IP


Onlyniru3:

Dobbey annai's {kissing_on_the_cheek


MOVIEART--jump
Top of pagePrevious messageNext messageBottom of page Link to this message

Onlyniru3
Bewarse Legend
Username: Onlyniru3

Post Number: 12259
Registered: 08-2009
Posted From: 216.105.250.4

Rating: N/A
Votes: 0 (Vote!)

Posted on Thursday, June 09, 2011 - 10:00 am:    Edit Post Delete Post View Post/Check IP

Thanks Dobbeyi, biryani, blaze and Dobbey annai's {kissing_on_the_cheek}
Telugu Jaathi Velugu Rekha ! Telugu Talli Keerthipataaka ! Telugu Atmagouravaprateeka ! Nandamuri Tarakaramudu..
Top of pagePrevious messageNext messageBottom of page Link to this message

Biryani
Yavvanam Kaatesina Bewarse
Username: Biryani

Post Number: 1978
Registered: 10-2010
Posted From: 167.121.100.1

Rating: N/A
Votes: 0 (Vote!)

Posted on Thursday, June 09, 2011 - 8:51 am:    Edit Post Delete Post View Post/Check IP

idi work avuthadi emo chudu baa
sort.sh test1.txt > test2.txt
World Champions!
Top of pagePrevious messageNext messageBottom of page Link to this message

Dobbey
Yavvanam Kaatesina Bewarse
Username: Dobbey

Post Number: 1208
Registered: 03-2011
Posted From: 136.174.187.5

Rating: N/A
Votes: 0 (Vote!)

Posted on Thursday, June 09, 2011 - 8:50 am:    Edit Post Delete Post View Post/Check IP

below will display the no of occurance and the record
> sort f1.txt|uniq -c
2 abc 1000 3452 2463 2343 2176 7654 3452 8765 5643 3452
1 aer 1000 3452 2463 2343 2176 7654 3452 8765 5643 3452
2 tas 3420 3562 2123 1343 2176 7654 3252 8765 5643 3452

below will display only the duplicate records
> sort f1.txt|uniq -d
abc 1000 3452 2463 2343 2176 7654 3452 8765 5643 3452
tas 3420 3562 2123 1343 2176 7654 3252 8765 5643 3452

below will display distinct records
> sort f1.txt|uniq
abc 1000 3452 2463 2343 2176 7654 3452 8765 5643 3452
aer 1000 3452 2463 2343 2176 7654 3452 8765 5643 3452
tas 3420 3562 2123 1343 2176 7654 3252 8765 5643 3452
Top of pagePrevious messageNext messageBottom of page Link to this message

Blazewada
Bewarse Legend
Username: Blazewada

Post Number: 16953
Registered: 08-2008
Posted From: 218.186.8.227

Rating: N/A
Votes: 0 (Vote!)

Posted on Thursday, June 09, 2011 - 8:48 am:    Edit Post Delete Post View Post/Check IP


Biryani:

Try out this one...

sed '$!N; /^\(.*\)\n\1$/!P; D'




Regular expression epert biryani baa... MOVIEART--blessme
Mind lo Fix Aithey Blind gaa ellipotaa...CLIPART--smoke
Top of pagePrevious messageNext messageBottom of page Link to this message

Biryani
Yavvanam Kaatesina Bewarse
Username: Biryani

Post Number: 1977
Registered: 10-2010
Posted From: 167.121.100.1

Rating: N/A
Votes: 0 (Vote!)

Posted on Thursday, June 09, 2011 - 8:48 am:    Edit Post Delete Post View Post/Check IP


Onlyniru3:



Codes:



ante google lo ade vachindiMOVIEART--bemmi.adi
World Champions!
Top of pagePrevious messageNext messageBottom of page Link to this message

Poramboku
Yavvanam Kaatesina Bewarse
Username: Poramboku

Post Number: 2437
Registered: 12-2005
Posted From: 213.70.5.57

Rating: N/A
Votes: 0 (Vote!)

Posted on Thursday, June 09, 2011 - 8:47 am:    Edit Post Delete Post View Post/Check IP


Codes:

ee text nee select chesi , Right click sessi .. search google ante.. 1st link loo answer dorikindi..

ujeless fella..




CLIPART--roflmao
Top of pagePrevious messageNext messageBottom of page Link to this message

Sachinfan
Bewarse Legend
Username: Sachinfan

Post Number: 14468
Registered: 10-2010
Posted From: 66.151.103.9

Rating: N/A
Votes: 0 (Vote!)

Posted on Thursday, June 09, 2011 - 8:46 am:    Edit Post Delete Post View Post/Check IP


Onlyniru3:

musugulo nannu emanna tittava?


aa command susi naku kuda attage anipinchindi..CLIPART--lol2
Pulihara kaburlu... pani paata leka CLIPART--smoke
Top of pagePrevious messageNext messageBottom of page Link to this message

Codes
Bewarse Legend
Username: Codes

Post Number: 61119
Registered: 05-2006
Posted From: 212.60.115.186

Rating: N/A
Votes: 0 (Vote!)

Posted on Thursday, June 09, 2011 - 8:46 am:    Edit Post Delete Post View Post/Check IP


Biryani:




niru gadi doola tirchedam ani decide ayava ?
I have no budget for other people's faith in humanity.
Top of pagePrevious messageNext messageBottom of page Link to this message

Onlyniru3
Bewarse Legend
Username: Onlyniru3

Post Number: 12258
Registered: 08-2009
Posted From: 216.105.250.4

Rating: N/A
Votes: 0 (Vote!)

Posted on Thursday, June 09, 2011 - 8:45 am:    Edit Post Delete Post View Post/Check IP


Biryani:

sed '$!N; /^\(.*\)\n\1$/!P; D'




Bir baaa... musugulo nannu emanna tittava? deenilo file name ekkada ivvali....?{bemmi.adi}
Telugu Jaathi Velugu Rekha ! Telugu Talli Keerthipataaka ! Telugu Atmagouravaprateeka ! Nandamuri Tarakaramudu..
Top of pagePrevious messageNext messageBottom of page Link to this message

Onlyniru3
Bewarse Legend
Username: Onlyniru3

Post Number: 12257
Registered: 08-2009
Posted From: 216.105.250.4

Rating: N/A
Votes: 0 (Vote!)

Posted on Thursday, June 09, 2011 - 8:45 am:    Edit Post Delete Post View Post/Check IP


Codes:

ee text nee select chesi , Right click sessi .. search google ante.. 1st link loo answer dorikindi..


MOVIEART--dv
Telugu Jaathi Velugu Rekha ! Telugu Talli Keerthipataaka ! Telugu Atmagouravaprateeka ! Nandamuri Tarakaramudu..
Top of pagePrevious messageNext messageBottom of page Link to this message

Biryani
Yavvanam Kaatesina Bewarse
Username: Biryani

Post Number: 1975
Registered: 10-2010
Posted From: 167.121.100.2

Rating: N/A
Votes: 0 (Vote!)

Posted on Thursday, June 09, 2011 - 8:43 am:    Edit Post Delete Post View Post/Check IP

Try out this one...

sed '$!N; /^\(.*\)\n\1$/!P; D'
World Champions!
Top of pagePrevious messageNext messageBottom of page Link to this message

Codes
Bewarse Legend
Username: Codes

Post Number: 61118
Registered: 05-2006
Posted From: 212.60.115.186

Rating: N/A
Votes: 0 (Vote!)

Posted on Thursday, June 09, 2011 - 8:43 am:    Edit Post Delete Post View Post/Check IP


Onlyniru3:

What is the unix command which will display only the dplicate records from the flat file




ee text nee select chesi , Right click sessi .. search google ante.. 1st link loo answer dorikindi..

ujeless fella..
I have no budget for other people's faith in humanity.
Top of pagePrevious messageNext messageBottom of page Link to this message

Blazewada
Bewarse Legend
Username: Blazewada

Post Number: 16951
Registered: 08-2008
Posted From: 218.186.8.227

Rating: N/A
Votes: 0 (Vote!)

Posted on Thursday, June 09, 2011 - 8:42 am:    Edit Post Delete Post View Post/Check IP

Duplicate record antey database rows ni flat file lo load chesi check antenaa?
Mind lo Fix Aithey Blind gaa ellipotaa...CLIPART--smoke
Top of pagePrevious messageNext messageBottom of page Link to this message

Codes
Bewarse Legend
Username: Codes

Post Number: 61117
Registered: 05-2006
Posted From: 212.60.115.186

Rating: N/A
Votes: 0 (Vote!)

Posted on Thursday, June 09, 2011 - 8:42 am:    Edit Post Delete Post View Post/Check IP

sort filename|uniq -d

or

awk '
{s[$0]++}
END {
for(i in s) {
if(s[i]>1) {
print i
}
}
}' file
I have no budget for other people's faith in humanity.
Top of pagePrevious messageNext messageBottom of page Link to this message

Prasanth
Bewarse Legend
Username: Prasanth

Post Number: 57740
Registered: 03-2004
Posted From: 110.76.160.100

Rating: N/A
Votes: 0 (Vote!)

Posted on Thursday, June 09, 2011 - 8:41 am:    Edit Post Delete Post View Post/Check IP

linux vaadutuntaa kaani nuvvu adigindhi teldhu..\bemmi.adi
Master Blaster Sachin Tendulkar
Top of pagePrevious messageNext messageBottom of page Link to this message

Onlyniru3
Bewarse Legend
Username: Onlyniru3

Post Number: 12256
Registered: 08-2009
Posted From: 216.105.250.4

Rating: N/A
Votes: 0 (Vote!)

Posted on Thursday, June 09, 2011 - 8:40 am:    Edit Post Delete Post View Post/Check IP

Unix experrts evru lera mana DB lo {bemmi.adi}....calling rangu dorl....
Telugu Jaathi Velugu Rekha ! Telugu Talli Keerthipataaka ! Telugu Atmagouravaprateeka ! Nandamuri Tarakaramudu..
Top of pagePrevious messageNext messageBottom of page Link to this message

Onlyniru3
Bewarse Legend
Username: Onlyniru3

Post Number: 12255
Registered: 08-2009
Posted From: 216.105.250.4

Rating: N/A
Votes: 0 (Vote!)

Posted on Thursday, June 09, 2011 - 8:36 am:    Edit Post Delete Post View Post/Check IP

What is the unix command which will display only the dplicate records from the flat file
Telugu Jaathi Velugu Rekha ! Telugu Talli Keerthipataaka ! Telugu Atmagouravaprateeka ! Nandamuri Tarakaramudu..

Topics | Last Hour | Last Day | Last Week | Tree View | Search | Help/Instructions | Program Credits Administration