From: Geoffrey Keating <geoffk@thief.cygnus.com>
To: cgen@sources.redhat.com
Subject: patch to escape '.' in gas-test.scm
Date: Wed, 13 Jun 2001 18:02:00 -0000 [thread overview]
Message-ID: <200106140102.f5E12d307695@thief.cygnus.com> (raw)
'.' 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
============================================================
next reply other threads:[~2001-06-13 18:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-06-13 18:02 Geoffrey Keating [this message]
2001-06-13 18:16 ` Ben Elliston
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200106140102.f5E12d307695@thief.cygnus.com \
--to=geoffk@thief.cygnus.com \
--cc=cgen@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).