in reply to Find svn log revisions with log message matching a given string

I am using windows activestate perl module, and this does work on windows. Any idea?
C:\Users\HP>svn log --limit 10 https://mySVN | perl -ne 'BEGIN{$/="-"x +72; $re = shift} print"$r\n"if((($r) =split)&&/$re/)' 2.5996485 Can't find string terminator "'" anywhere before EOF at -e line 1.
  • Comment on Re: Find svn log revisions with log message matching a given string
  • Download Code

Replies are listed 'Best First'.
Re^2: Find svn log revisions with log message matching a given string
by choroba (Cardinal) on May 18, 2014 at 22:40 UTC
    On Windows, single quotes are not special in the shell. Use double quotes instead.
    لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

      Thanks for the response, but I tried with double quotes and I am getting following error.

      C:\Users\HP>svn log --limit 10 https://mySVN | perl -ne 'BEGIN{$/="-"x +72; $re = shift} print"$r\n"if((($r) =split)&&/$re/)' 2.5996485
      Backslash found where operator expected at -e line 1, near "$r\" (Missing operator before \?) Can't use an undefined value as a symbol reference at -e line 1, <> chunk 1.

        C:\Users\HP>svn log --limit 10 https://mySVN | perl -ne "BEGIN{$/="-"x +72; $re = shift} print"$r\n"if((($r) =split)&&/$re/)" 2.5996485
        Backslash found where operator expected at -e line 1, near "$r\" (Missing operator before \?) Can't use an undefined value as a symbol reference at -e line 1, <> chunk 1.