Tag Info

New answers tagged


Menon, you got already a sed answer how to do the operation on the whole file. If your intention is to work on individual lines, as shown in your code frame, then you don't need sed (or any other external program), since your shell can likely (see note below) do the substitution. Assuming variable string in your code contains (e.g.) the value PORT_NUM, the ...

Top 50 recent answers are included