On Thu, 18 May 2023, 00:57 Al Ma, <al...@ro.ru> wrote:

>
> In the man page for bash we see the line,
>
> “-- A -- signals the end of options and disables further option
> processing. Any arguments after the -- are treated as filenames and
> arguments. An argument of - is equivalent to --.”
>

I suggest the confusion is because the "argument" at the end is described
as both an argument and also...not an argument. i the first is a bit
redundant.

i suggest including an example, such as:


A `--' (or a single `-') stops bash interpreting further arguments as
options. Any arguments after the `--' are treated as a new command line
that bash will run. For example, 'bash -- ls --help' passes the `--help' to
ls rather than bash.

Reply via email to