f40bf7ae8c
svn path=/trunk/; revision=7164
30 lines
706 B
Bash
Executable file
30 lines
706 B
Bash
Executable file
#!/bin/sh
|
|
#
|
|
# $Id: make-faq,v 1.3 2003/02/18 11:24:19 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 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
|
|
|
|
# Create an #include'able version for gtk/help_dlg.c
|
|
sed -e 's/\\/\\\\/g' -e 's/"/\\"/g' -e 's/^/"/' -e 's/$/\\n"/' <FAQ >FAQ.include
|
|
|
|
exit 0
|