1355071Sdelphij#! /usr/bin/env bash
2355071Sdelphij#                          __  __            _
3355071Sdelphij#                       ___\ \/ /_ __   __ _| |_
4355071Sdelphij#                      / _ \\  /| '_ \ / _` | __|
5355071Sdelphij#                     |  __//  \| |_) | (_| | |_
6355071Sdelphij#                      \___/_/\_\ .__/ \__,_|\__|
7355071Sdelphij#                               |_| XML parser
8355071Sdelphij#
9355071Sdelphij# Copyright (c) 2019 Expat development team
10355071Sdelphij# Licensed under the MIT license:
11355071Sdelphij#
12355071Sdelphij# Permission is  hereby granted,  free of charge,  to any  person obtaining
13355071Sdelphij# a  copy  of  this  software   and  associated  documentation  files  (the
14355071Sdelphij# "Software"),  to  deal in  the  Software  without restriction,  including
15355071Sdelphij# without  limitation the  rights  to use,  copy,  modify, merge,  publish,
16355071Sdelphij# distribute, sublicense, and/or sell copies of the Software, and to permit
17355071Sdelphij# persons  to whom  the Software  is  furnished to  do so,  subject to  the
18355071Sdelphij# following conditions:
19355071Sdelphij#
20355071Sdelphij# The above copyright  notice and this permission notice  shall be included
21355071Sdelphij# in all copies or substantial portions of the Software.
22355071Sdelphij#
23355071Sdelphij# THE  SOFTWARE  IS  PROVIDED  "AS  IS",  WITHOUT  WARRANTY  OF  ANY  KIND,
24355071Sdelphij# EXPRESS  OR IMPLIED,  INCLUDING  BUT  NOT LIMITED  TO  THE WARRANTIES  OF
25355071Sdelphij# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
26355071Sdelphij# NO EVENT SHALL THE AUTHORS OR  COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
27355071Sdelphij# DAMAGES OR  OTHER LIABILITY, WHETHER  IN AN  ACTION OF CONTRACT,  TORT OR
28355071Sdelphij# OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
29355071Sdelphij# USE OR OTHER DEALINGS IN THE SOFTWARE.
30355071Sdelphij
31355071Sdelphij./xmlwf/xmlwf_helpgen.py | sed \
32355071Sdelphij        -e 's,usage: xmlwf,usage: %s,' \
33355071Sdelphij        -e 's, \[-h | -v\],,' \
34355071Sdelphij        -e 's,^,      T(",' \
35355071Sdelphij        -e 's,$,\\n"),'
36