[Info-vax] VMS on Raspberry Pi 5
Johnny Billquist
bqt at softjar.se
Tue Nov 14 13:05:16 EST 2023
On 2023-11-14 18:54, Ahem A Rivet's Shot wrote:
> On Tue, 14 Nov 2023 18:05:21 +0100
> Johnny Billquist <bqt at softjar.se> wrote:
>
>> It is a bit different than under Unix-like systems, since commands don't
>> necessarily have a 1:1 mapping to a binary.
>
> Neither do unix commands (eg. ex and vi are the same binary as are
> more and less) the extreme case is busybox, or indeed anything built with
> crunchgen (such as almost the entire contents of /rescue on this FreeBSD
> box). Then there are shell aliases and functions.
Well, I would argue that there is a difference when you have the same
binary with different names. From a shell point of view, that's
completely separate commands, as basically commands are binaries, and
there is a 1:1 mapping there. But of course there are exceptions. Things
that deal with shell internal commands are all not related to any binary
at all, and as noted, aliases muddy the water way more.
And behind the scene you certainly have the fact that it might be the
same binary, and the way it behaves just depends on the content of argv[0].
But like I said - in the end I do not really think that VMS is any
different, and I was questioning Martin, who was the one saying that VMS
was so different.
Johnny
More information about the Info-vax
mailing list