[Info-vax] Unix and DCL shells
Simon Clubley
clubley at remove_me.eisner.decus.org-Earth.UFP
Mon Jan 8 13:25:07 EST 2024
On 2024-01-08, Arne Vajhøj <arne at vajhoej.dk> wrote:
> On 1/8/2024 10:35 AM, Dave Froble wrote:
>> On 1/8/2024 9:21 AM, Simon Clubley wrote:
>>> Things I would like to see from bash in DCL:
>>>
>>> Filename globbing.
>>
>> Don't have a clue what globbing is. Probably don't want to know anyway.
>
> Wildcard expansion in the shell not the program.
>
> If you have a VMS Basic program that you run with:
>
> $ mcr []df *.bas
>
> then your Basic program sees one argument with *.bas and can lookup
> the matching files with LIB$FIND_FILE or whatever.
>
> If Simons idea get implemented and enabled then your Basic program
> would see N arguments with DF.BAS, X.BAS, Y.BAS etc. - DCL would expand
> the wildcards instead of leaving it to the program.
>
> It is a *nix thing.
>
It also has much more powerful pattern matching than DCL offers, which
is why I would like to see it on VMS.
For David's benefit:
https://tldp.org/LDP/abs/html/globbingref.html
DCL doesn't have anything that even begins to compare with that.
Simon.
--
Simon Clubley, clubley at remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.
More information about the Info-vax
mailing list