How do I match accented e (i.e. é) using an equivalence class in AST tr? Doing that in sed is easy: ~/bin/sed -r "s/[[=e=]]/X/g" <<<"8é8" ; printf "\n" 8X8
But in tr I am not able to get it working: ksh -c 'builtin tr ; tr -Cd "[=e=]" <<<"1e2é3" ; print' e AFAIK this should print "eé". I used: version tr (AT&T Research) 2012-11-12 version sed (AT&T Research) 2012-03-28 Ced -- Cedric Blancher <[email protected]> Institute Pasteur _______________________________________________ ast-developers mailing list [email protected] http://lists.research.att.com/mailman/listinfo/ast-developers
