#!/usr/bin/perl open(LOG,"+</etc/spamdomains.txt") || die "Can't open spam file\n"; while (<LOG>){ unless(/^\s$){ print; } } close(LOG);
In reply to Re: Cannot seem to remove empty/blank lines
by mikkoh
in thread Cannot seem to remove empty/blank lines
by cgaff
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |