Hi,
I'm trying to understand some of the effects of bracexpand.
First off, is it correct that '{' and '}' are not metacharacters, so
can't be escaped e.g. "\{" ?
Second, if I disable bracexpand should those characters cease to have
any special effect?
Is this sequence expected (from build 111b):
% set +o
set --default --bgnice --braceexpand --gmacs --monitor --multiline --viraw
% A='A\{1,\}'
% echo "$A"
A\{1,}
% echo $A
A\1 A\
% set +B
% set +o
set --default --bgnice --gmacs --monitor --multiline --viraw
% echo $A
A\1 A\
I seem to find no way to escape the effects of braces in variable
expansion. Any suggestions?
Please reply to me directly, I'm not on this alias directly.
Thanks,
Bob