[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [ask] awk - passing for loop bash variables to awk



On Sun, Sep 16, 2012 at 4:14 PM, emmanuel segura <emi2fast@gmail.com> wrote:
> awk '/line/ {print; if(FNR % 3 == 0){exit}}' var
>

thanks, emmanuel. i already know that, but right now i need to understand
how passing for loop bash variables to awk works.


Reply to: