Why Nostr? What is Njump?
2024-05-25 16:57:54
in reply to

Joel Bennett on Nostr: I know bash acts that way, but I don't understand why. If you want to be sure that ...

I know bash acts that way, but I don't understand why.

If you want to be sure that your _grandparent_ contains ABC/123 then you can test ../../ABC/123

Adding the ../.. on the end serves no purpose. Obviously the parent of ANY folder exists.

I would prefer if putting ".." on the RIGHT END of a path caused a warning or error. The only reason you would construct a path like that is you're dealing with user inputs, and these particular inputs are probably dangerous.
Author Public Key
npub18dqdtq38873745nxtqa2z54d6pfagzhespenkvqcwqsmyrlyp9rsqy9qnp