From: Andy_Lord AT tertio DOT com Subject: Echo | sed behaves strangely? 2 Jun 1997 07:01:16 -0700 Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: <802564AA.00391439.00.cygnus.gnu-win32@tertio_ln1.tertio.com> X-Lotus-FromDomain: TERTIO Original-To: gnu-win32 AT cygnus DOT com Original-Sender: owner-gnu-win32 AT cygnus DOT com 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:Andrew_Lord AT tertio DOT com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".