[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Missing documentation "-bash_input"
From: |
Andreas Schwab |
Subject: |
Re: Missing documentation "-bash_input" |
Date: |
Tue, 28 Nov 2023 15:30:20 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
On Nov 28 2023, Klaus Frank wrote:
> I just noticed that the man pages are missing documentation for the
> "-bash" (or better "-bash_input") parameter.
There is no such thing as a -bash or -bash_input parameter.
> be better readable when being passed as an argument itself to e.g. nspawn
> or docker: `echo test1234 | bash -c "echo $@"`, `bash -c "echo $@" -bash
> "test1234"`, `bash -c "echo $@" -bash_input "test1234"`.
The first argument passed after -c ... is just a placeholder here, it is
used to set the $0 special parameter.
$ bash -c 'echo $0 $2 $1' foo bar mumble
foo mumble bar
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
- Missing documentation "-bash_input", Klaus Frank, 2023/11/28
- Re: Missing documentation "-bash_input",
Andreas Schwab <=
- Re: Missing documentation "-bash_input", Klaus Frank, 2023/11/28
- Re: Missing documentation "-bash_input", Greg Wooledge, 2023/11/28
- Re: Missing documentation "-bash_input", Lawrence Velázquez, 2023/11/28
- Re: Missing documentation "-bash_input", Klaus Frank, 2023/11/28
- Re: Missing documentation "-bash_input", Greg Wooledge, 2023/11/28
- Re: Missing documentation "-bash_input", Oğuz, 2023/11/28
- Re: Missing documentation "-bash_input", Robert Elz, 2023/11/29