Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: Find svn log revisions with log message matching a given string

by choroba (Cardinal)
on May 18, 2014 at 22:40 UTC ( [id://1086566]=note: print w/replies, xml ) Need Help??


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

On Windows, single quotes are not special in the shell. Use double quotes instead.
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
  • Comment on Re^2: Find svn log revisions with log message matching a given string

Replies are listed 'Best First'.
Re^3: Find svn log revisions with log message matching a given string
by Anonymous Monk on May 21, 2014 at 03:49 UTC

    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.

        Not sitting at a MSWin machine, but I'd try
        perl -ne "BEGIN{ $/ = '-' x 72; $re = shift } print qq($r\n) if (($r) += split) && /$re/" 2.5996485
        whatever it does.
        لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1086566]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-04-24 22:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found