Linux/Unix man page syntax conventions

后端 未结 2 1418
遇见更好的自我
遇见更好的自我 2020-12-02 10:29

In man pages I come across various syntaxes to write Linux/Unix commands, which include square brackets, angular brackets, hyphens (-) and double h

2条回答
  •  臣服心动
    2020-12-02 11:11

    There is also uncommon {} brackets used which from my search is for a required options that can be specified in mutually exclusive ways, ex {-A|--almost-all}.

     "{}" are used in conjunction with a vertical bar to
    indicate cases where exactly one of the specified options may be used
    

    https://groups.google.com/forum/#!topic/comp.unix.programmer/XOr31SgvvS8

提交回复
热议问题