Gentle reminder that this bug hasn't been fixed yet and is offending
your French users :)

Ced

---------- Forwarded message ----------
From: Roland Mainz <[email protected]>
Date: 14 March 2013 23:01
Subject: Re: Matching accented é with [=e=] using AST tr
To: Cedric Blancher <[email protected]>, Glenn Fowler
<[email protected]>
Cc: [email protected], ast-users
<[email protected]>, [email protected]


On Thu, Mar 14, 2013 at 2:19 PM, Cedric Blancher
<[email protected]> wrote:
> 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

Erm... wIthout digging around... does AST "tr" support the POSIX
equivalence class syntax yet (Glenn... ping!) ? My first guess would
be to try another platform like Solaris to see if the issue is
libc-related...

----

Bye,
Roland

--
  __ .  . __
 (o.\ \/ /.o) [email protected]
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)


-- 
Cedric Blancher <[email protected]>
Institute Pasteur
_______________________________________________
ast-developers mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-developers

Reply via email to