Hacker News .hn
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
eru
on Jan 11, 2013
|
parent
|
context
|
favorite
| on:
The Unreasonable Effectiveness of C
My sed knowledge isn't very advance. What is your invocation supposed to do?
dbaupp
on Jan 11, 2013
[–]
You can use any separator you want in an s/../../ expression, not just /, in this case the separator is _ (this technique allows you to use / without creating a "picket fence": s/r\/x/r$\//).
So the regex just means replace "r/x" with "r$/".
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: