On Sat, Jan 01, 2022 at 11:07:49PM +0100, ?????? wrote:
> The original wording is weird and doesn't explicitly say that it does
> sh -c, which is the fundamental point ??? spell it out directly
> ---
> usr.bin/script/script.1 | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/usr.bin/script/script.1 b/usr.bin/script/script.1
> index 28783961a..b9a0f0411 100644
> --- a/usr.bin/script/script.1
> +++ b/usr.bin/script/script.1
> @@ -69,8 +69,8 @@ retaining the prior contents.
> .It Fl c Ar command
> Run
> .Ar command
> +.Pq via Nm sh Fl c Ar command
> instead of an interactive shell.
or i suppose we could say
Run
.Nm sh Fl c Ar command ,
instead of an interactive shell.
> -To run a command with arguments, enclose both in quotes.
why do you want to remove this line? the page is short, and it might
help someone.
jmc
> .El
> .Pp
> The script ends when the forked program exits (an
> --
> 2.30.2