vtl script fails when invoked with current directory having certain file names

vtl script fails when invoked with current directory having certain file names

When you have, for example, subdirectories in your current directory with filenames of a, b, and c, if you try to invoke vtl, you get the error message:tr: too many argumentsTry 'tr --help' for more informationThe problem lies in the bash script sampling.product . It has a line:KERNEL_START=`${GREP} "${TEXT_START_TAG}$" ${KERNEL_MAP} | ${CUT} -f 1 -d " " | ${TR} [a-f] [A-F]`When it is executed, [a-f] gets substituted with 'a b c b c', for some reason I'll let the bash experts explain.I think it can be fixed with adding a backslash before the '['s and ']'s. There are other places in the scripts that may contain similar errors.Thanks,Jim Fry

1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.