[Info-vax] Command Line Versus Command Line
Lawrence D'Oliveiro
ldo at nz.invalid
Thu May 23 18:43:30 EDT 2024
On Thu, 23 May 2024 18:37:35 +0100, chrisq wrote:
> Unix shell just uses single quotes to enclose spaced arguments, which
> are then removed by the shell, before storing the argument as pointer to
> a null terminated array of char. Neat, clean and simple.
Actually, there’s a bit more to it than that, if you want to avoid the
pitfalls.
Which is why it is often so much simpler just to execute a program
directly, without going through a shell, if you don’t need the
capabilities of the shell language as such.
More information about the Info-vax
mailing list