summaryrefslogtreecommitdiffstats
path: root/gnu/lib/libregex/doc/include.awk
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>1993-07-30 20:16:54 +0000
committercvs2svn <cvs2svn@FreeBSD.org>1993-07-30 20:16:54 +0000
commit4c6599b12882858dff92d2ae55f6683ca070bea5 (patch)
tree9ca97530aa31f1b27cf6847235f74abda80a9f75 /gnu/lib/libregex/doc/include.awk
parent5e0c8d9ee2600d5f7d5c710e34249ae51db60ba7 (diff)
downloadFreeBSD-src-4c6599b12882858dff92d2ae55f6683ca070bea5.zip
FreeBSD-src-4c6599b12882858dff92d2ae55f6683ca070bea5.tar.gz
This commit was manufactured by cvs2svn to create branch
'VENDOR-libregex'.
Diffstat (limited to 'gnu/lib/libregex/doc/include.awk')
-rw-r--r--gnu/lib/libregex/doc/include.awk19
1 files changed, 0 insertions, 19 deletions
diff --git a/gnu/lib/libregex/doc/include.awk b/gnu/lib/libregex/doc/include.awk
deleted file mode 100644
index a1df3f8..0000000
--- a/gnu/lib/libregex/doc/include.awk
+++ /dev/null
@@ -1,19 +0,0 @@
-# Assume `source' is set with -vsource=filename on the command line.
-#
-/^\[\[\[/ { inclusion = $2; # name of the thing to include.
- printing = 0;
- while ((getline line < source) > 0)
- {
- if (match (line, "\\[\\[\\[end " inclusion "\\]\\]\\]"))
- printing = 0;
-
- if (printing)
- print line;
-
- if (match (line,"\\[\\[\\[begin " inclusion "\\]\\]\\]"))
- printing = 1;
- }
- close (source);
- next;
- }
- { print }
OpenPOWER on IntegriCloud