A shell colon does nothing.
> Shell 中的冒号什么也不做。
Use it anyway
> 但仍然可以使用它
HN 125 分 · 42 条评论 · 作者 olexsmir · 来源 refp.se · HN 讨论
> HN 125 分 · 42 条评论 · 作者 olexsmir · 来源 refp.se · HN 讨论
The article highlights the power of the shell colon in streamlining script logic, specifically replacing multiple lines of argument validation with a single construct.
⋯ 继续阅读请开通会员 ⋯