3 ms·
Here's a good explanation from SO that I happen to have in my bookmarks: https://stackoverflow.com/questions/29832037/how-to-get-script-directory-in-posix-sh/2
by halayli 3y ago
Here's a good explanation from SO that I happen to have in my bookmarks:
https://stackoverflow.com/questions/29832037/how-to-get-script-directory-in-posix-sh/29835459#29835459 https://stackoverflow.com/questions/29832037/how-to-get-scri...
- n_plus_1_acc 3y agoThanks, I will use that from now on as a reference when somebody asks me why I don't like to program longer things in shell.