[FIG(quote)[
[FIGCAPTION[
[1] [CITE[echo]]
([TIME[2024-06-23T03:02:51.000Z]])
<https://pubs.opengroup.org/onlinepubs/9699919799/utilities/echo.html#tag_20_37_04>
]FIGCAPTION]

> The [I[echo]] utility shall not recognize the "--" argument in the manner specified by Guideline 10 of [I[XBD Utility Syntax Guidelines]]; "--" shall be recognized as a string operand.
> 

]FIG]


[FIG(quote)[
[FIGCAPTION[
[2] [CITE@en[zsh: 17 Shell Builtin Commands]]
([TIME[2023-05-08T23:42:16.000Z]], [TIME[2024-06-23T03:10:18.544Z]])
<https://zsh.sourceforge.io/Doc/Release/Shell-Builtin-Commands.html>
]FIGCAPTION]

> All builtin commands other than ‘[CODE[echo]]’ and precommand modifiers, even those that have no options, can be given the argument ‘[CODE[--]]’ to terminate option processing. This indicates that the following words are non-option arguments, but is otherwise ignored. This is useful in cases where arguments to the command may begin with ‘[CODE[-]]’. For historical reasons, most builtin commands (including ‘[CODE[echo]]’) also recognize a single ‘[CODE[-]]’ in a separate word for this purpose; note that this is less standard and use of ‘[CODE[--]]’ is recommended.

]FIG]


- [3] [CITE@en[–end-of-options | Andrew Nesbitt]], [[Andrew Nesbitt]], [TIME[2026-07-27T05:47:09.000Z]], [TIME[2026-07-27T06:51:50.594Z]] <https://nesbitt.io/2026/07/21/end-of-options.html>
-- [4] 
[CITE@ja[Xユーザーのiwashi / Yoshimasa Iwaseさん: 「gitの--end-of-optionsは知らなかったな。 ・多くのUnixツールでは「--」がオプション解析の終了を意味する ・しかしgitでは「--」をリビジョンとパスの分離に使ってしまっている ・そのため、ダッシュから始まる変数を渡すとgitがオプションと誤認してしまう ・これを防ぐため、git」 / X]], [TIME[午後9:00 · 2026年7月26日][2026-07-26T12:00:00.000Z]], [TIME[2026-07-27T06:04:48.000Z]] <https://x.com/iwashi86/status/2081348809473261831>
