When running a shell script I want to call another shell script and pass in a parameter representing a filename.
The structure of the filename is:
ProgramName.DatabaseName.Date.log
Whilst the ProgramName and DatabaseName are known the date is not known.
if...
ProgramName=export
DatabaseName=test
Date=any value in the format of <MonYY>
the filename parameter passed in is...
export.test.*.log
When I pass in this parameter the shell script being called substitutes the * with all sorts of strange values, whereas I want the shell to receive export.test.*.log and treat the asterisk as an asterisk.
Any ideas???
The structure of the filename is:
ProgramName.DatabaseName.Date.log
Whilst the ProgramName and DatabaseName are known the date is not known.
if...
ProgramName=export
DatabaseName=test
Date=any value in the format of <MonYY>
the filename parameter passed in is...
export.test.*.log
When I pass in this parameter the shell script being called substitutes the * with all sorts of strange values, whereas I want the shell to receive export.test.*.log and treat the asterisk as an asterisk.
Any ideas???