diff options
Diffstat (limited to 'make-faq')
-rwxr-xr-x | make-faq | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,6 +1,6 @@ #!/bin/sh -x # -# $Id: make-faq,v 1.1 2002/08/20 00:01:52 jmayer Exp $ +# $Id: make-faq,v 1.2 2003/01/29 12:58:45 jmayer Exp $ # # Make-faq - Creates a plain text version of the Ethereal FAQ # from http://www.ethereal.com/faq @@ -14,7 +14,7 @@ cat >$FAQ <<EOF 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 + date version. The version of this snapshot can be found at the end of this document. INDEX @@ -23,4 +23,7 @@ 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 |