1. 12
  1.  

  2. 2

    This is one of my big beefs with awk. I love it, but passing shell variables to it is painful. This is a very good guide on the different ways of doing it, and the different pitfalls that inevitably come with each different method