summaryrefslogtreecommitdiff
path: root/contrib/awk/awklib/eg/network/webgrab.awk
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2001-11-02 21:06:08 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2001-11-02 21:06:08 +0000
commitce83bef85e2e23eb8d5b30b9f4987d323094c3f4 (patch)
treecd2c7fd87952f47d303b90e49b90c14bccf7e292 /contrib/awk/awklib/eg/network/webgrab.awk
parent4192247c04a09b9f83953a0d00f7992e8afaf976 (diff)
Notes
Diffstat (limited to 'contrib/awk/awklib/eg/network/webgrab.awk')
-rw-r--r--contrib/awk/awklib/eg/network/webgrab.awk6
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/awk/awklib/eg/network/webgrab.awk b/contrib/awk/awklib/eg/network/webgrab.awk
new file mode 100644
index 000000000000..41738805afb2
--- /dev/null
+++ b/contrib/awk/awklib/eg/network/webgrab.awk
@@ -0,0 +1,6 @@
+BEGIN { RS = "http://[#%&\\+\\-\\./0-9\\:;\\?A-Z_a-z\\~]*" }
+RT != "" {
+ command = ("gawk -v Proxy=MyProxy -f geturl.awk " RT \
+ " > doc" NR ".html")
+ print command
+}