Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • My final solution was in python since my Perl was too rusty. Thanks. Commented Feb 24, 2011 at 3:02
  • 3
    Even better, use Pandas. It is explicitly designed to work with tabular data. Commented Jul 15, 2014 at 19:24
  • Python is available almost everywhere and so this is a good suggestion. This will work with Python 3 too by simply rewriting the print statement to use a function print(col). Commented Apr 21, 2020 at 16:16
  • @StevenD Raku (a.k.a. Perl6) solution below. Commented Oct 29, 2022 at 21:18
  • Is it fast compared to grep? Commented Feb 7, 2024 at 21:47