From Graeme Lunt
[obnox/wireshark/wip.git] / make-faq
index cc5deed60dd81d121d0f18214962b0d696d9a504..a4e8d9084f6a8bcf56892b967b0e48971fb87fc6 100755 (executable)
--- a/make-faq
+++ b/make-faq
@@ -1,26 +1,29 @@
-#!/bin/sh -x
+#!/bin/sh
 #
-# $Id: make-faq,v 1.1 2002/08/20 00:01:52 jmayer Exp $
+# $Id$
 #
 # Make-faq - Creates a plain text version of the Ethereal FAQ
-#      from http://www.ethereal.com/faq
+#      from http://www.ethereal.com/faq.html
 
-FAQ=FAQ
-
-rm -f $FAQ
-cat >$FAQ <<EOF
+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.
+         date. Please go to http://www.ethereal.com/faq.html for the up
+         to date version. The version of this 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
+lynx -dump -nolist "http://www.ethereal.com/faq.html" | sed -e '1,/^Index/d' >>FAQ
+
+echo
+echo "Now verfiy everything is OK and copy FAQ to help/faq.txt"
+echo "To verify run: diff -u help/faq.txt FAQ"
+echo
 
 exit 0