Message-Id: <Pine.SOL.4.10.
10006141332220.3643-100000@maxwell.phys.lafayette.edu>
p4raw-id: //depot/cfgperl@6274
$pat = $_ unless defined $pat;
# extract patterns
+ $pat =~ s/^\s+//; # Protect against empty elements in
+ $pat =~ s/\s+$//; # things like < *.c> and <*.c >.
+ # These alone shouldn't trigger ParseWords.
if ($pat =~ /\s/) {
# XXX this is needed for compatibility with the csh
# implementation in Perl. Need to support a flag