The below program (when-changed) gives the filename %f
which can be used in the command. How can I get only the filename without file extension from this %f
?
This is the command that I want to use:
when-changed *.scss -c sassc %f f%-min.css
It saves a filename like: layout.scss-min.css
What I need is only layout-min.css
, if possible.