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