Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
dbaupp
on Jan 11, 2013
|
parent
|
context
|
favorite
| on:
The Unreasonable Effectiveness of C
Random tip: in Bash (at least), you can execute the previous command with some changes using ^..^..^, e.g.
$ echo john regehr | sed s/hr/xx/ john regexx $ ^r/x^r$/^ echo john regehr | sed s/hr$/x/ john regex
(The second last line is just bash printing the new command.)
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: