On Sun, Sep 16, 2012 at 4:14 PM, emmanuel segura <[email protected]> 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. -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/CAD9kJ0P7XL+g=oN4ra-WojhpfGe8urPT0w=bewd2m1uz_62...@mail.gmail.com

