Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • It gives me a compilation error and I never used perl... :/ Any suggestions? Commented Apr 18, 2018 at 10:05
  • @EnriqueTorellóPerelló, possibly, you have an old version of perl before the r flag was added. Commented Apr 18, 2018 at 10:15
  • where do I specify the line from file A to replace in file B? I suppose that value1 is the value from file B to be replaced. Right? Commented Apr 18, 2018 at 10:41
  • @EnriqueTorellóPerelló, that answer answers your question as currently stated in the body of your question, the additional comments to your question seem to suggest a different question. I've given up trying to guess what you actually want to do. You should edit your question with a more relevant example. Commented Apr 18, 2018 at 11:53