Skip to content
  • Peter Wu's avatar
    Always use for FAQ, improve output · 68698db8
    Peter Wu authored and AndersBroman's avatar AndersBroman committed
    A recent commit broke compilation with Python 3. The original author of is deceased and the fork has increased the number of files
    for this "simple" helper.
    The script in this patch was rewritten and its output
    matches with lynx (except for a few newlines around lists). This means
    that indentation has been added for headings, paragraphs and lists.
    Also, since it was written from scratch, a new license could be chosen
    that matches Wireshark.
    Since now the in-tree script provides nicer output, remove
    detection of the alternative programs (elinks, links). lynx/w3m is
    somehow still necessary for asciidoc though.
    (I also looked into reusing for the release notes to
    replace asciidoc, but the --format=html output produces different output
    (HTML adds a ToC and section numbers). For now still require lynx for
    release notes)
    Tested with Python 2.6.6, 2.7.9, 3.2.6 and 3.4.3 under LC_ALL=C and
    LC_ALL=en_US.UTF-8 on Linux. Tested reading from stdin and file, writing
    to file, pipe and tty. Tested with cmake (Ninja) and autotools on Arch
    Linux x86_64. Test:
        # For each $PATH per python version, execute (with varying LC_ALL)
        help/ -b | tools/ /dev/stdin | md5sum
        help/ -b | tools/ | md5sum
        help/ -b | tools/
        help/ -b | tools/ >/dev/null
    Change-Id: I6409450a3e6c8b010ca082251f9db7358b0cc2fd
    Petri-Dish: Peter Wu <>
    Tested-by: default avatarPetri Dish Buildbot <>
    Reviewed-by: default avatarAnders Broman <>
This project is licensed under the GNU General Public License v2.0 or later. Learn more