Help for this page

Select Code to Download


  1. or download this
    $ mkdir diamondtest
    $ cd diamondtest
    ...
    $ ls  # now you see it
    $ perl -pe 1 *
    $ ls  # now you don't -- no files
    
  2. or download this
    while (defined($_ = <ARGV>)) { ... }
    
  3. or download this
    # strip blank lines
    perl -pe 's=^\s*$=='
    
  4. or download this
    perl -Tpe 's=^\s*$=='