Subject: Echo | sed behaves strangely?
From: [email-masked]

2 Jun 1997 07:01:16 -0700
Approved: [email-masked]
Distribution: cygnus
Message-ID: <[email-masked]>
X-Lotus-FromDomain: TERTIO
Original-To: [email-masked]
Original-Sender: [email-masked]

The following commands seem to give the wrong output

bash$ echo x  | sed 's/[^^/]*/yz/g'
yzyz

It should just be yz? (I checked on a SunOs box)
The word count for 'echo x' is correct (I thought
it might be some kind of EOL mangling).
bash$ echo x | wc
      1       1       2

What's happening? Anyone?

many rgds,
Andy L.

mailto:[email-masked]

-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".