Is he doing this from memory or is he looking it up as he goes along?
Now on ScienceBlogs: Must Read
Evolution, Life Sciences, Science Education, Human Evolution, and Stuff
Learn more about Charles Darwin and his work.
Looking for stuff about birds?
Lean more about lions
An archaeological expedition to the Congo
The contents of Greg Laden's Blog are copyrighted by Greg Laden.
Click on "About" for the big picture, and "Archives" for the details.
« Five Gunned Down By Comrade in Iraq | Main | Party!!!! »
Category: Computer Tricks • Linux • Technology • one-liners
Posted on: May 11, 2009 3:57 PM, by Greg Laden
Is he doing this from memory or is he looking it up as he goes along?
TrackBack URL for this entry: http://scienceblogs.com/mt/pings/109277
Comments
I did "sort -t, -k3 test1 | join -v 1 -v 2 -t, -j 3 test2 -" and got essentially the same result (well, fields 1 and 3 were swapped, but big deal, hey?).
Posted by: lylebot | May 11, 2009 7:14 PM
er, "test1" and "test2" in my line correspond to "stuff.csv" and "nostuff.csv" respectively.
Posted by: lylebot | May 11, 2009 7:16 PM
I have been using PHP to do all my CSV parsing all this time. I should have known there'd be commands that could do it as easily in a bash script. Thanks Greg (and Linux Journal), I learned something new and will probably apply it sometime today. If not for work, then for fun.
Posted by: Jason Thibeault | May 12, 2009 8:28 AM
Probably from memory.
After using unix/sunos/solaris/aix/hpux/linux for almost two decades, I've memorized most of the options to the commonly used commands. I'm sure the author of the video has too.
Posted by: Glen | May 12, 2009 2:25 PM