Y
Hacker News
new
|
ask
|
show
|
jobs
by
endgame
4172 days ago
It's a bashism. Open up "man bash" and search for "Remove matching suffix pattern".
1 comments
clebio
4172 days ago
which, regrettably, is not something you can do with `man` if you find `${0%/*}` in a script you're reading that someone else wrote.
link
endgame
4172 days ago
No, but you can find it by searching for "%", because that's exactly what I did.
link