Search Results

Search: Posts Made By: shadowww
3,043
Posted By shadowww
Yep seems like that is exactly what I wanted,...
Yep seems like that is exactly what I wanted, only kinda suprised it cut my file almost in half size o_o
Need test a little bit more...

edit: well, this is it 100%
tested and retested, thanks...
3,043
Posted By shadowww
Awk and duplicate lines - little complicated
So I've got problem which continues on my previous one (from few months ago:
unix.com/shell-programming-scripting/171764-delete-duplicate-lines-twist.html ).

Good, proven, working solutions...
2,860
Posted By shadowww
Sorry, mentioning of '*' in my last post is...
Sorry, mentioning of '*' in my last post is irrelevant for problem/solution.

Again, I believe your code is way to go, its only problem is that when searches for duplicates it uses only a-z for...
2,860
Posted By shadowww
Sure, It is 5mb compilation of trivia questions....
Sure, It is 5mb compilation of trivia questions. One question per row with * for separator from answer (file will be used by irc trivia bot). Aim is to weed out automatically as much duplicate...
2,860
Posted By shadowww
Thanks, it worked. But slight observation:...
Thanks, it worked.

But slight observation: I had some 200 lines in file that would differentiate only by numbers and this code would (incorrectly) count them as duplicate.
2,860
Posted By shadowww
Delete duplicate lines... with a twist!
Hi, I'm sorry I'm no coder so I came here, counting on your free time and good will to beg for spoonfeeding some good code. I'll try to be quick and concise!

Got file with 50k lines like this:
...
Showing results 1 to 6 of 6

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