Shell variable transfer distortion

for example

a=`set_var EASYRSA        "${0%/*}"`;

echo a;

set_var EASYRSA        "${0%/*}"



set_var EASYRSA  "${0%/*}"


Thank you.

printing tabs directly will not change, once the assignment tabs will change spaces.

Aug.28,2021
When

passes parameters, shell automatically removes empty strings, tabs, etc., leaving only a space, unless you enclose the


tabs in double quotation marks, do not type the tabs by hand, and use \ t instead, the first diagonal is the escape character.

Menu