Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - News > Syndicated Linux News
User Name
Syndicated Linux News This forum is for the discussion of Syndicated Linux News stories.


  Search this Thread
Old 03-26-2017, 07:23 PM   #1
LXer NewsBot
Registered: Dec 2005
Posts: 99,838

Rep: Reputation: 102Reputation: 102
LXer: grep vs AWK vs Ruby, and a uniq disappointment

Published at LXer:

In my data-cleaning work I often make up tallies of selected individual characters from big, UTF-8-encoded data files. What's the best way to do this? As shown below, I've tried grep/sort/uniq, AWK and Ruby, and AWK's the fastest. The trials also revealed an unexpected problem with the uniq program in GNU coreutils.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Proofreading for illusions with grep and AWK LXer Syndicated Linux News 0 06-18-2016 08:28 AM
uniq/ awk/ or sed trying to get high / low values schneidz Programming 3 06-18-2008 02:30 PM
LXer: Firefox 3 Beta Review: A Disappointment LXer Syndicated Linux News 0 04-18-2008 02:41 PM
LXer: Flash for Linux: Adobe's Disappointment LXer Syndicated Linux News 0 09-27-2006 06:33 PM
Catch-22 with 'uniq' - sed, awk, another way out? slakmagik Linux - General 5 07-31-2003 09:18 AM > Forums > Linux Forums > Linux - News > Syndicated Linux News

All times are GMT -5. The time now is 10:45 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration