0

I recently executed a command similar to the following:

svn copy https://myRepo.com/projectFolder1/myProject.prj https://myRepo.com/projectFolder2 -m "copied myProject.prj to projectFolder2"&& svn update

and indeed the copy went through then the update too.

But every other command similar to that afterwards to copy more projects is presenting me with this symbol: ">" which i assume means I need to/ want to enter more stuff? and the actual command is not being executed.

Second command:

svn copy https://myRepo.com/projectFolder1/myProject2.prj https://myRepo.com/projectFolder2 -m "copied myProject2.prj to projectFolder2"&& svn update

I know to exit that I have to hit: cntl c. But my intent is to execute the copy commands. I could not find a solution to this (possibly because i don't know what to search for exactly). Am I doing something wrong or missing something here? Thank you

4

1 回答 1

0

该问题与执行多个命令无关。相反,问题出在 TextEdit.app 中。在这些引号之后输入 &&:" 将导致您的引号更改为智能引号,即“。因此在后面输入 &&:

"

将导致

“&&&

如果您仔细观察,引号会有所不同。

作为测试,TextWrangler.app 不这样做,只是 TextEdit.app,所以它可能是一个错误。

今后我将使用 TextWrangler 来准备我的终端命令。

于 2014-06-19T02:16:22.373 回答