Skip site navigation (1)Skip section navigation (2)
Date:      26 Jun 2002 19:18:24 -0700
From:      Sean McNeil <sean@mcneil.com>
To:        stable@freebsd.org
Subject:   Is sed broken?
Message-ID:  <1025144305.69952.2.camel@blue.mcneil.com>

next in thread | raw e-mail | index | archive | help
Hi everyone,

I've upgraded to latest cvs 4.6-STABLE and I see something that doesn't
look right:

echo 'limits.h' | sed
'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'
LIMITS_h

Is this correct?  It isn't replacing the final h as I expected.  If I
add a space at the end, then it works:

echo 'limits.h ' | sed
'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'
LIMITS_H 


Cheers,
Sean



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1025144305.69952.2.camel>