3 ms·It's a bashism. Open up "man bash" and search for "Remove matching suffix pattern".by endgame 12y agoIt's a bashism. Open up "man bash" and search for "Remove matching suffix pattern".clebio 12y agowhich, regrettably, is not something you can do with `man` if you find `${0%/*}` in a script you're reading that someone else wrote.endgame 12y agoNo, but you can find it by searching for "%", because that's exactly what I did.