Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
leni536
on Feb 20, 2017
|
parent
|
context
|
favorite
| on:
Adventures in /usr/bin and the likes
Also sed can use other characters instead of / for separating fields, like using _ instead for / heavy stuff:
sed -e 's_https://www\.example\.com/_/_g'
I think it's nicer than:
sed -e 's/https:\/\/www\.example\.com\//\//g'
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: