String herdeoc中的Concat变量

String herdeoc中的Concat变量,string,shell,variables,concatenation,ksh,String,Shell,Variables,Concatenation,Ksh,我有以下KornShell(ksh)脚本: 我需要使用另一个字符串concat$VAR,然后使用$DAT,这样运行脚本会导致: /this/is/a/path/foldername01_01_2014 shell为您提供了以下语法: ${VAR}foldername${DAT} IHTH /this/is/a/path/foldername01_01_2014 ${VAR}foldername${DAT}

我有以下KornShell(ksh)脚本:

我需要使用另一个字符串concat$VAR,然后使用$DAT,这样运行脚本会导致:

/this/is/a/path/foldername01_01_2014

shell为您提供了以下语法:

${VAR}foldername${DAT}
IHTH

/this/is/a/path/foldername01_01_2014
${VAR}foldername${DAT}