in reply to Re^3: count number of lines with +
in thread count number of lines with +

below is a sample. i should get the output as 2. counting lines starting by a single + and also not being the only character in the line. I know its tricky, thank you for helping me. thanks.

+++ sdb_careers.war/body_edit_course.jsp @@ -50,7 +50,7 @@ + <option ${professionStat } + +import java.io.File; import java.sql.SQLException;

Replies are listed 'Best First'.
Re^5: count number of lines with +
by oiskuu (Hermit) on Jul 23, 2014 at 09:41 UTC

    #! /usr/bin/perl exec diffstat => @ARGV

      thank you sir, this is enough and simple. thanks again.