awk

RSS
  • Unix How-To: Counting Anything

    Posted September 15, 2010 - 10:23 am

    A reader recently asked whether it was possible on Unix systems to count how many times a particular character appears on each line of text. "On Unix", I answered, "not only is just about anything possible, but there are usually half a dozen ways to do it".
  • Unix How To: Sed & Awk -- Still friendly after all these years

    Posted March 10, 2010 - 3:45 pm

    Even after decades of using Unix on thousands of systems, I find that it's still fun to discover various convolutions of sed and awk commands to perform command line wizardry. There's a lot more to each of these tools than those uses I make of these commands on a routine basis. Let's take a look at some one-liners you might not yet have tried.
  • Unix commands: The best tool for the job

    Posted November 19, 2008 - 12:50 pm

    With Unix, there are always many ways to do a single thing, but sometimes one approach is just a lot better! Let's look at a couple examples of commands that are right for the job.
Ask a Question