Shell Script Development

主要面向 Bash。

⬅︎ 返回上层

TOC

其他

测试

颜色

参数解析

  • [dispatch](https://github.com/Mosai/workshop/blob/master/doc/dispatch.md): A full command line argument dispatcher in 50 lines of portable shell script. Unlike many argument parsers, dispatch is not designed to be used inside case/esac control structures. It behaves like a router for shell script functions.

工具集

Lint

格式化 Formater

自动补全

https://github.com/scop/bash-completion

可通过 brew 安装,brew install bash-completion for bash 3.x,brew install bash-completion@2 for bash 4.x。

日志

文件定位