I want to run one command, then bring up a second, but modify it first before pressing enter on it. (Cygwin)
I usually just type it all out like this:
svn up 8.0; ./merge.py 8.0 12345
I also have to do this with different versions and revisions, so after that, I type out all this again for each one:
svn up 8.1; ./merge.py 8.1 12345
The problem is, 12345 always changes, so I have to just up arrow and delete and re type it.
So what I want to do is type this:
m8 12345
or
m81 12345
or
m8 54321
For each different one. The results would be:
$ m8 12345
$ svn up 8.0; ./merge.py 8.0 12345
(but not actually run, just typed in for me in the prompt)
$ m81 12345
$ svn up 8.1; ./merge.py 8.1 12345
(but not actually run, just typed in for me in the prompt)
$ m8 54321
$ svn up 8.0; ./merge.py 8.0 54321
(but not actually run, just typed in for me in the prompt)
At that point I could press enter, or change the 12345 around, or do nothing.