Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
tandr
11 days ago
|
parent
|
context
|
favorite
| on:
Go away Python
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
8 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
.
reply
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: