Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: string match simplification?



On Tue, 3 Sep 2024 at 18:36, Ray Andrews <rayandrews@xxxxxxxxxxx> wrote:


On 2024-09-03 09:03, Roman Perepelitsa wrote:
You might be looking for ${filename:e}. 

What's it's antimatter twin -- grab everything but the extension?

:r

my clunky code works

It doesn't work on "/foo.bar/baz".

Roman


Messages sorted by: Reverse Date, Date, Thread, Author