Examples

Issue #2 resolved
Former user created an issue

Suggest that rewriting the perl one-liners at this link in tab would provide a nice set of examples:
http://www.catonmat.net/download/perl1line.txt

Comments (5)

  1. Ivan Tkatchev repo owner

    Good idea, but I don't agree with the use of the Perl one-liner list. The stuff in that file mostly seems geared towards showing off the peculiar strengths of Perl, not as a list of common problems that need solving.

    In general, tab is mostly useful for tabular data, the kind that can be plotted or inserted into a relational database. (Hence the name.)

    For example, a problem like "number only non-empty lines in a file" is hard or impossible to solve in tab. (Other problems, like "find the median temperature of March vs. September" are much simpler.)

  2. Log in to comment