[Info-vax] Unix and DCL shells
Simon Clubley
clubley at remove_me.eisner.decus.org-Earth.UFP
Mon Jan 15 08:33:10 EST 2024
On 2024-01-12, Dave Froble <davef at tsoft-inc.com> wrote:
> On 1/12/2024 8:21 AM, Simon Clubley wrote:
>> On 2024-01-11, Lawrence D'Oliveiro <ldo at nz.invalid> wrote:
>>> On Thu, 11 Jan 2024 13:52:52 -0000 (UTC), Simon Clubley wrote:
>>>
>>>> Fine. Then add the globbing pattern capabilities to the current VMS
>>>> wildcard lookup APIs without changing anything else. That gives you the
>>>> same ability to use more powerful pattern matching expressions on VMS
>>>> without having to change anything else in your code.
>>>
>>> I?m not really sure that?s worthwhile. One could argue that the existing
>>> VMS wildcard patterns are already equivalent in power (or a bit beyond, in
>>> the case of ?...?), based on the corresponding constructs in the filename
>>> specs.
>>>
>>
>> The main thing missing on VMS is that you can't use a grouping
>> operator such as [a-d] to restrict the files selected or to select
>> everyting not in the grouping operator. There's nothing similar
>> to the {} expansion operator either.
>>
>> I use that kind of selection criteria all the time on Linux.
>>
>
> Maybe you do, but, in the past I've done the same on VMS, and more.
>
> Now, to be specific, I read the above to be select filenames beginning with the
> letters a thru d. Is that correct?
>
Yes. You can also negate the pattern to find everything not in that pattern.
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