2009/9/17 matt <[email protected]>: > awk '{a=$2; sub(a, "hell"); print}' file
The trouble with this is that the same string can appear more than once (before, after the field, ...), so the simple substitution isn't enough. Ruda
2009/9/17 matt <[email protected]>: > awk '{a=$2; sub(a, "hell"); print}' file
The trouble with this is that the same string can appear more than once (before, after the field, ...), so the simple substitution isn't enough. Ruda