From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <09DB2D65-A18A-493E-9886-2D5D3334F460@corpus-callosum.com> References: <09DB2D65-A18A-493E-9886-2D5D3334F460@corpus-callosum.com> Date: Tue, 10 Aug 2010 10:54:32 +0200 Message-ID: From: Rudolf Sykora To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] regexp metacharacter difficulty inside grap Topicbox-Message-UUID: 466bdeb8-ead6-11e9-9d60-3106f5b1d025 > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 yo =3D sh { echo $3 | sed 's/\)#//' } just thinking... there might be a differenc between the above and > =A0 =A0 =A0 =A0cpu% echo '4.9534)#' | sed 's/\)#//' thanks to the apostrophes... if you just write echo 4.95) which I think is what happens in the former case, you get the error... about ')' as you get Ruda