cc: [email protected]
Subject: Re: RE: [ast-users] How do I have : in an egrep [...] range?
--------
> Is there a simple *builtin* way for the other way round, get the character
> from its ordinal number? I seem to recall there was, but don't remember.
> BTW, does anybody know why a printf conversion doesn't work as one would
> expect?
>
>
Not all that simpe, but for any unicode character whose value is $u, you
should be able to do
typeset -i16 x=$u
printf $"\\u[${x#16#}]\\n"
David Korn
[email protected]
_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users