Assume we have a variable \'a\' set to 12345 :
set a 12345
Now how do i set a new variable \'b\' which contains the value of \'a\' and anot
You can do:
set b ${a}9876
or, assuming b is either set to the empty string or not defined:
b
append b $a 9876
The call to append is more efficient when $a is long (see append doc).
append
$a