aboutsummaryrefslogtreecommitdiff
path: root/src/misc
diff options
context:
space:
mode:
authorsvnadmin <svnadmin@f88db872-0e4f-0410-b76b-b9085cfa78c5>2008-06-26 13:51:26 +0000
committersvnadmin <svnadmin@f88db872-0e4f-0410-b76b-b9085cfa78c5>2008-06-26 13:51:26 +0000
commit9716af1598ddfd2ab8ee7198b35cca1df312c4fd (patch)
tree5f903e795434362f0360ee2e3e65a27e6c6601c3 /src/misc
parent8cb0df53b3d5d615624b9bffdcc11cf13905cfc0 (diff)
Make "Erik" branch the default trunk for AHFinderDirect.
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1526 f88db872-0e4f-0410-b76b-b9085cfa78c5
Diffstat (limited to 'src/misc')
-rw-r--r--src/misc/README4
-rwxr-xr-xsrc/misc/select.patch7
2 files changed, 3 insertions, 8 deletions
diff --git a/src/misc/README b/src/misc/README
index 3932df9..0229869 100644
--- a/src/misc/README
+++ b/src/misc/README
@@ -17,7 +17,3 @@ mpp
select.patch
This is a Perl script to extract a selected patch from a
gridfn output file.
-
-select.plane
- This is a Perl script to extract one of the xy, xz, or yz
- planes from an AH-shape data file.
diff --git a/src/misc/select.patch b/src/misc/select.patch
index b3457e5..ff09a7b 100755
--- a/src/misc/select.patch
+++ b/src/misc/select.patch
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/local/bin/perl -w
# $Header$
#
@@ -8,8 +8,7 @@
# This filter prints that part of standard input starting with a
# line of the form (eg)
# ## +z patch
-# (with any number >= 1 of # characters allowed) and continuing up to and
-# including two consecutive newlines.
+# and continuing up to and including two consecutive newlines.
#
use strict;
@@ -22,7 +21,7 @@ my $in_selected_patch = 0;
my $newline_count = 0;
while (my $line = <STDIN>)
{
- if ($line =~ /^#+ \Q${patch_name}/o)
+ if ($line =~ /^### \Q${patch_name}/o)
{ $in_selected_patch = 1; }
if ($line =~ /^\n/)
{ ++$newline_count; }