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

Anirudh Permalink
February 02, 2016, 11:56

You should do such operations without resorting to greediness of regexes

sed 's/foo/bar/'

changes the first "foo" to "bar", no matter how many times "foo" is in the pattern space.

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

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

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