代码拉取完成,页面将自动刷新
#!/bin/sh
# a simple script to create man pages for tools
# provided in the bin dir after installation of eccodes.
#
# Written by: J. de Kloe, 2022.
BINDIR=$1
DESTDIR=$2
if [ ! -e "$DESTDIR" ] ; then
mkdir -p "$DESTDIR"
fi
for TOOL in "$BINDIR"/*
do
BASENAME=$(basename "$TOOL")
help2man --no-info --output="${DESTDIR}/${BASENAME}.1" "${TOOL}"
done
# currently (29-Aug-2022) help2man fails on these 5 tools:
# help2man: can't get `--help' info from ../bin/bufr_count
# help2man: can't get `--help' info from ../bin/codes_count
# help2man: can't get `--help' info from ../bin/grib2ppm
# help2man: can't get `--help' info from ../bin/grib_count
# help2man: can't get `--help' info from ../bin/gts_count
echo "done"
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。