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

Could you please share your sample input data, I will check with my script and let you know.


All is well

Replies are listed 'Best First'.
Re^4: count number of lines with +
by ladnjay (Initiate) on Jul 23, 2014 at 08:27 UTC

    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;

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

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