Help for this page

Select Code to Download


  1. or download this
    perl -ne 'print if $.=/pattern/?1:2..10'
    
  2. or download this
    perl -ne 'print if$c=/pattern/?11:$c&&$c-1'
    
  3. or download this
    perl -ne 'print if(/pattern/?$c=10:$c--)>0'