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