I run this command both by typing in Terminal and by executing file on CentOS 6.5 64 bits.
let t='.'; echo $t;
Can't believe that it yields such a wierd error:
-bash: let: t=.: syntax error: operand expected (error token is ".")
As far as I know, single-quoted strings should not be parsed. In fact, in the first place, what I wanted to do is:
let $target_path='./files/mp4';
Can anyone please explain this behavior and guide me to stop this wierd act?