6 Star 0 Fork 0

OpenCloudOS Stream/eccodes

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
eccodes_create_man_pages.sh 730 Bytes
一键复制 编辑 原始数据 按行查看 历史
ocs-bot 提交于 2024-05-06 15:43 . package init
#!/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"
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/opencloudos-stream/eccodes.git
git@gitee.com:opencloudos-stream/eccodes.git
opencloudos-stream
eccodes
eccodes
master

搜索帮助