Y
Hacker News
new
|
ask
|
show
|
jobs
by
tandr
163 days 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?
1 comments
fsmv
160 days ago
I 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
.
link
If I remember right I think ? Is exactly one character only, or maybe it does non greedy .