You're viewing a comment by James and its responses.

James Permalink
July 31, 2009, 20:49

@Michael - you'd probably want to use Ack ( for that task, but here's a one-liner solution in the spirit of this article:

perl -pe '$_ = (/regex/ ? "$.:\t$_" : "")'

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

Type the word "sandbox_150": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.