Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
5255 Discussions

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

jim_fry
Beginner
486 Views
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 arguments
Try 'tr --help' for more information
The 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
0 Kudos
0 Replies
Reply