[Info-vax] New CEO of VMS Software
Arne Vajhøj
arne at vajhoej.dk
Sun Jan 7 13:16:19 EST 2024
On 1/7/2024 2:38 AM, Lawrence D'Oliveiro wrote:
> On Sun, 7 Jan 2024 02:59:17 +0000, Chris Townley wrote:
>> Even without VMS under linux, I have always wanted a dclsh.
>
> With that clunky PIPE command every time you want to feed the output of
> one process into the input of another?
That is what happens when one don't want to break backwards
compatibility.
> The whole command-line concept on VMS is fundamentally flawed. Notice that
> on *nix, the command line is not a single string, it is an array of
> strings.
The command line is not a single string on VMS.
The true VMS way must be CLD files and CLI$ functions
and there it is qualifiers and 8/16 parameters.
DCL, C, Java, Python etc. expose separate parameters.
VMS do have lib$get_foreign that get the entire command line,
but that is really intended for non-VMS applications
being ported to VMS.
Although the foreign mechanism is probably more common than
CLD files and CLI$ functions.
Arne
More information about the Info-vax
mailing list