Timeline for How to replace only the Nth occurrence of a pattern in a file?
Current License: CC BY-SA 3.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 29, 2015 at 13:12 | comment | added | terdon♦ | I'm not the asker :). I thought the same thing, which is why I had upvoted your answer, but if you look at the original version of the question (click on the "Edited X minutes ago" link) you'll see that the OP expected the is in this to be changed to thus. By the way, there is no need for cat there. | |
| Jan 29, 2015 at 13:08 | comment | added | Walter A | I thought you were looking for " is " with spaces. I could edit my answer with the tr command like @jimmij used, but my solution would become far inferiour to his. | |
| Jan 29, 2015 at 12:47 | comment | added | terdon♦ |
In the example in the question, there are more than one is per line.
|
|
| Jan 29, 2015 at 11:10 | history | answered | Walter A | CC BY-SA 3.0 |