in reply to Pattern problem
while (<FH>) { print if /^Host System (?!#)/; # or perhaps for more whitespace safety # print if /^Host\s+System\s+(?![#\s])/ }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Pattern problem
by Anonymous Monk on Jan 27, 2006 at 14:50 UTC | |
by mikeraz (Friar) on Jan 27, 2006 at 15:32 UTC |