3
1
Possible Duplicate:
How to replace a command with the result of another in linux?
I'm able to parse my command output so it only shows the file name that I'm interested.
My question is, I want to be able to take the output and use it as a parameter for svn diff
.
svn diff /filename_from_output/
1set the filename from output to a variable and pass that variable in to your command. foo =
some command
; some_other_command $foo; – Scott C Wilson – 2012-04-17T19:09:05.730