|
Answer» I have to convert a big BATCH file to bash script. Can someone tell me how this line will translate to in bash ?
b.bat BB60 %*
The line transfers control (permanently) to ANOTHER batch file called b.bat, which is either in the same folder or is on a folder listed in the %PATH% system variable, and passes to it the FOLLOWING parameters:
First parameter:
BB60
This is the text string "BB60".
Second, third ... NTH parameters:
%*
This means: all of the parameters (however many that happens to be) which were ORIGINALLY passed to the big batch file, in the order in which they were passed, separated by spaces. The Bash equivalent of %* is [email protected]
|