patch to escape '.' in gas-test.scm
Geoffrey Keating
geoffk@thief.cygnus.com
Wed Jun 13 18:02:00 GMT 2001
'.' is also a special character for regexp.
--
Geoff Keating <geoffk@redhat.com>
===File ~/patches/cgen-gastestdot.patch=====================
2001-06-13 Geoffrey Keating <geoffk@redhat.com>
* 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
============================================================
More information about the Cgen
mailing list