5.10.3 Increase of \
You can increase the number of \ contained in the value of a shell variable. With this, you can easily respond to multiple deletions of the \ of values that are passed to the awk command.
-
Job definition script (script.ash)
aa=d:\\g1234z\\azzzz echo -E 'hitachi' | "${ADSH_DIR_CMD}awk" -v VVV1=$aa '/hitachi/ { \ print "VVV1=" VVV1 ; \ }' >&2 adshvarconv -i 1 aa echo -E 'hitachi' | "${ADSH_DIR_CMD}awk" -v VVV1=$aa '/hitachi/ { \ print "VVV1=" VVV1 ; \ }' >&2
-
Examples
D:\home\user001>adshexec -m MINIMUM script.ash VVV1=d:g1234zzzzz VVV1=d:\g1234z\azzzz