Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
neild
on March 24, 2011
|
parent
|
context
|
favorite
| on:
Time-saving tips for Linux
A Perl expression. You could use this for sed-like activities:
# Print included files. ack --output '$1' '#include <(.*)>'
You could presumably do much trickier things as well, since the --output argument can contain any Perl expression.
betterthangrep
on March 24, 2011
[–]
That's a great example. I just replaced it as the example in the Top 10 List on the front of betterthangrep.com. Thanks.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: