6 ms·
I’m struggling to understand the use case for this aside from just checking if your own directory is on the path.
by nolongerthere 3y ago
I’m struggling to understand the use case for this aside from just checking if your own directory is on the path.
- MightyBuzzard 3y ago[dead]
- OccamsMirror 3y agoNot bad for a security check. https://systemweakness.com/linux-privilege-escalation-using-path-variable-manipulation-64325ab05469 https://systemweakness.com/linux-privilege-escalation-using-...
- epogrebnyak 3y agoFor me the use case was trying to understand what directories should I clean from path and if there where duplicates. Just something to help understand if my PATH on Windows was repetitive or not.
- epogrebnyak 3y agoActually funny enough does not do that - cool possible feature Should it be `justpath --contains .`? Opened issue here: https://github.com/epogrebnyak/justpath/issues/10 https://github.com/epogrebnyak/justpath/issues/10
- nolongerthere 3y agoI was thinking you’d pipe the results and check that way