You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
printf is a finicky beast. And so is echo. Different OSes treat leading dashes differently, and I had to guess at a mechanism that would work everywhere.
It's true that nicedirname always includes a backslash, but it should have always interpolated away when included in strings. In retrospect, that simply wasn't a good approach.
I'm going to commit a different approach. Please, give it a try and let me know how it works for you.
*) printf '\-%s' "$dirname" ;;
With this code the archive always entails a backslash.
The text was updated successfully, but these errors were encountered: