Re:Why Lisp macros are cool, a Perl perspective (2005)
by mc3 on Tuesday December 17, 2019 @10:14PM
(#21821434)
Nice. I think it is important for proponents of languages to answer FAQs like this so you aren't left in a corner when you want do so something (i.e build & distribute) that is standard in most languages.
I have this alias in my .zshrc:
Sansext is a custom function that strips the file extension from a filename, but you don't need that; you can read output filename from $2, or whatever else.