aboutsummaryrefslogtreecommitdiffstats
path: root/make-faq
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2002-08-20 00:01:52 +0000
committerJörg Mayer <jmayer@loplof.de>2002-08-20 00:01:52 +0000
commit13917def5557ff7c5bdf8d38d52a732790d3a56e (patch)
tree03828264c45e0239e2a31fbcd459212adf87bed9 /make-faq
parent7478576e0343b0c87d96fce0c7150eec4030c389 (diff)
Small script to create the plain text version of the FAQ.
svn path=/trunk/; revision=6027
Diffstat (limited to 'make-faq')
-rwxr-xr-xmake-faq26
1 files changed, 26 insertions, 0 deletions
diff --git a/make-faq b/make-faq
new file mode 100755
index 0000000000..cc5deed60d
--- /dev/null
+++ b/make-faq
@@ -0,0 +1,26 @@
+#!/bin/sh -x
+#
+# $Id: make-faq,v 1.1 2002/08/20 00:01:52 jmayer Exp $
+#
+# Make-faq - Creates a plain text version of the Ethereal FAQ
+# from http://www.ethereal.com/faq
+
+FAQ=FAQ
+
+rm -f $FAQ
+cat >$FAQ <<EOF
+
+ The Ethereal FAQ
+
+ Note: This is just an ASCII snapshot of the faq and may not be up to
+ date. Please go to http://www.ethereal.com/faq for the up to
+ date version. The version of the snapshot can be found at the
+ end of this document.
+
+ INDEX
+
+EOF
+
+lynx -dump -nolist "http://www.ethereal.com/faq" | sed -e '1,/INDEX/d' >>FAQ
+
+exit 0