[Info-vax] Unix and DCL shells
Arne Vajhøj
arne at vajhoej.dk
Mon Jan 8 15:35:01 EST 2024
On 1/8/2024 3:19 PM, Scott Dorsey wrote:
> Simon Clubley <clubley at remove_me.eisner.decus.org-Earth.UFP> wrote:
>>
>> It also has much more powerful pattern matching than DCL offers, which
>> is why I would like to see it on VMS.
>
> regexps are built into a lot of Unix utilities at fairly low levels and
> this is incredibly powerful.
>
> But I cannot say "mv *.txt *.dat" in order to change every file extension
> in the current working directory. This is the downside.
But DCL is not bash.
I actually think it could work in DCL.
$ SET PROC/GLOB=ON
$ REN *.TXT "*.DAT"
could be interpreted as:
$ REN 1.TXT,2.TXT,3.TXT *.DAT
Arne
More information about the Info-vax
mailing list