hello,
is there a working "case insensitive" (i
in ksh93 I get it working:
Code:
# ksh93
# A=tRee;B=Tree;[[ "${A}" = @(${B}) ]] && echo yes || echo not
not
# A=tRee;B=tRee;[[ "${A}" = @(${B}) ]] && echo yes || echo not
yes
# A=tRee;B=Tree;[[ "${A}" = @(~(i:${B})) ]] && echo yes || echo not
[red]yes[/red]
#
in ksh88:
Code:
# A=tRee;B=Tree;[[ "${A}" = @(${B}) ]] && echo yes || echo not
not
# A=tRee;B=tRee;[[ "${A}" = @(${B}) ]] && echo yes || echo not
yes
# A=tRee;B=Tree;[[ "${A}" = @(~(i:${B})) ]] && echo yes || echo not
[red]not[/red]