[ksh93-integration-discuss] Defining pattern mode (like "~(E)") via variables

Josh Hurst joshhurst at gmail.com
Sun Nov 5 10:18:07 PST 2006


Does anyone know why

$ (ksh93 "mode='[[ "hello" == ~(E).*hello ]] && echo 'bar'")
bar

works but

$ (ksh93 "mode='~(E)' ; [[ "hello" == ${mode}.*hello ]] && echo 'bar'")

does not produce a match?
-- 
Josh



More information about the ksh93-integration-discuss mailing list