public inbox for cgen@sourceware.org
 help / color / mirror / Atom feed
* patch to escape '.' in gas-test.scm
@ 2001-06-13 18:02 Geoffrey Keating
  2001-06-13 18:16 ` Ben Elliston
  0 siblings, 1 reply; 2+ messages in thread
From: Geoffrey Keating @ 2001-06-13 18:02 UTC (permalink / raw)
  To: cgen

'.' 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
============================================================

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: patch to escape '.' in gas-test.scm
  2001-06-13 18:02 patch to escape '.' in gas-test.scm Geoffrey Keating
@ 2001-06-13 18:16 ` Ben Elliston
  0 siblings, 0 replies; 2+ messages in thread
From: Ben Elliston @ 2001-06-13 18:16 UTC (permalink / raw)
  To: geoffk; +Cc: cgen

>>>>> "Geoffrey" == Geoffrey Keating <geoffk@thief.cygnus.com> writes:

  Geoffrey> '.' is also a special character for regexp.

Approved.  I assume you have write-privs in the src repository?

Ben

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-06-13 18:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-13 18:02 patch to escape '.' in gas-test.scm Geoffrey Keating
2001-06-13 18:16 ` Ben Elliston

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).