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. -To run a command with arguments, enclose both in quotes. .El .Pp The script ends when the forked program exits (an -- 2.30.2
signature.asc
Description: PGP signature

