5.10.1 Conversion using a path conversion rule
Values of shell variables are converted according to the PATH_CONV_ENABLE parameter and the PATH_CONV parameter. For conversion, it is possible to convert the path name set for the environment variable in advance and the path name stored in the argument of the job definition script.
-
Environment file
#-adsh_conf PATH_CONV_ENABLE / : #-adsh_conf PATH_CONV /home d:\\home
-
Job definition script (script.ash)
infile=$1 adshvarconv -p infile “${ADSH_DIR_CMD}cat” ${infile}
-
File (d:\home\user001\test.txt)
This is test data.
-
Examples
D:\home\user01> adshexec -m MINIMUM script.ash /home/user001/test.txt This is test data.