Re: Need to Grep only fail count from the Pattern.

2014-07-01 Thread Uday Vernekar
The script works fine without next if $line =~ /^-/; How it helps. On Mon, Jun 30, 2014 at 9:06 PM, Jim Gibson jimsgib...@gmail.com wrote: On Jun 30, 2014, at 2:44 AM, Uday Vernekar vernekaru...@gmail.com wrote: please Explain next if $line =~ /^-/; “Skip this input line if it

Re: Need to Grep only fail count from the Pattern.

2014-07-01 Thread Jim Gibson
On Jul 1, 2014, at 1:26 AM, Uday Vernekar vernekaru...@gmail.com wrote: The script works fine without next if $line =~ /^-/; How it helps. It skips the line containing all dashes which separate the data lines. The script works without it because that line will fail the next test: ‘next