2 ms·${@%.*} is valid in both bash (old macOS default shell) and zsh (current macOS default shell).by msephton 2y ago${@%.*} is valid in both bash (old macOS default shell) and zsh (current macOS default shell).