[Info-vax] Unix and DCL shells
Simon Clubley
clubley at remove_me.eisner.decus.org-Earth.UFP
Tue Jan 9 14:22:26 EST 2024
On 2024-01-08, Scott Dorsey <kludge at panix.com> 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.
On Linux, you can try the following:
https://man7.org/linux/man-pages/man1/rename.1.html
As per the manpage advice, make sure you _always_ do it on a copy of
the files. Also be aware that there have been multiple versions of the
rename command across different distributions, so always check the
manpage first.
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