On Mon, 2003-06-16 at 10:55, McKown, John wrote:
> As best as I can tell, the following sed script should change all the upper
> case to lower case. It is not working (SLES7)
>
> echo "XX" | sed 'y/[A-Z]/[a-z]/'
>
> What am I doing wrong?

I always use tr:

echo "XX" | tr '[A-Z]' '[a-z]'

Adam

Reply via email to