Vladi Belperchinov-Shabanski <[EMAIL PROTECTED]> writes:

=> and (my) perl way:
=> 
=>    #!/usr/bin/perl -n
=>    $c = 50 if /CREATE TABLE/;
=>    print if $c and $c--;

This seems to work:

    || perl -ne 'print if /CREATE TABLE/ .. (++$c > 50)' nine-megs.txt

peace,                              || Rainwater Harvesting in Karnataka:
--{kr.pA}                           || http://makeashorterlink.com/?J21521932
--
GAAP, n.: the reason for the gaap between the balance sheet and reality.

Reply via email to