aboutsummaryrefslogtreecommitdiffstats
path: root/make-faq
blob: 9311f170c6aeccc98d8e90b64939175fe9dcc4d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/sh
#
# $Id: make-faq,v 1.6 2003/12/21 03:16:48 jmayer Exp $
#
# Make-faq - Creates a plain text version of the Ethereal FAQ
#	from http://www.ethereal.com/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 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

echo
echo "Now verfiy everything is OK and move FAQ to help/faq.txt"
echo

exit 0