From mboxrd@z Thu Jan 1 00:00:00 1970 From: Geoffrey Keating To: cgen@sources.redhat.com Subject: patch to escape '.' in gas-test.scm Date: Wed, 13 Jun 2001 18:02:00 -0000 Message-id: <200106140102.f5E12d307695@thief.cygnus.com> X-SW-Source: 2001-q2/msg00085.html '.' is also a special character for regexp. -- Geoff Keating ===File ~/patches/cgen-gastestdot.patch===================== 2001-06-13 Geoffrey Keating * gas-test.scm (cgen-build.sh): Escape '.' as well. Index: devo/cgen/gas-test.scm =================================================================== RCS file: /cvs/cvsfiles/devo/cgen/gas-test.scm,v retrieving revision 1.30 diff -p -u -p -r1.30 gas-test.scm --- gas-test.scm 2001/05/11 02:20:21 1.30 +++ gas-test.scm 2001/06/14 00:57:04 @@ -219,6 +219,7 @@ function gentest { -e 's/\\[/\\\\\\[/g' \ -e 's/\\]/\\\\\\]/g' \ -e 's/[+]/\\\\+/g' \ + -e 's/[.]/\\\\./g' \ -e 's/[*]/\\\\*/g' | \ sed -e 's/^.*file format.*$/.*: +file format .*/' \ >>${1}.d ============================================================