4 ms·
It works, but the best in me I cannot explain fully first 3 symbols. /*?sr/bin/env finds /usr by expanding *? to a first matching directory. But why not just
by tandr 9mo ago
It works, but the best in me I cannot explain fully first 3 symbols.
/*?sr/bin/env finds /usr by expanding *? to a first matching directory. But why not just /*usr/ instead?
- fsmv 9mo agoI think I was just trying to minimize accidentally matching the wrong thing. Both do work though and it is kinda nice to be more readable. If I remember right I think ? Is exactly one character only, or maybe it does non greedy .