Recent content by theuser

  1. T

    sed command doesn't work every time

    That's right, you described exactly what I wanted to do. But I finally managed to make your script work (the one in your first post) and it works every time I use it, no matter what files I have. I didn't use another PC, I don't know what happened actually but I just changed the content of file...
  2. T

    sed command doesn't work every time

    Thank you for your reply, I tried your code and mess with it a bit, that seems to do something but I still have the same problem. It doesn't change any string, even though the file is edited (my script did the same thing). I mean I checked the last modification date of the file (file B), it was...
  3. T

    sed command doesn't work every time

    Hello Linux community, I made a script that replaces strings in a file but it behaves very strangely because it worked a few times, but it doesn't most of the time, it just doesn't change the strings. I know that my script is working fine, otherwise it wouldn't have worked. And I have no error...
Top