Help for this page

Select Code to Download


  1. or download this
    $ cat text
    first
    ...
    fourth
    sixth
    seventh
    
  2. or download this
    perl -we 'open N, "<", shift or die; $p = 0; while(defined($n = <N>)) 
    +{ $s = <> for $p + 1 .. $n + 0; print $s; $p = $n; }' nums text