Hi guys, I've been googling it for several hours now. However, I'm unfortunate enough to find the answer I've been looking for.
This is my problem,
I can find the mean of the number 1 after the {action}, I just want to know what is the meaning of that.
Your answer is much appreciated... thanks
This is my problem,
Code:
awk '/foo/{count++;if(count=1){sub("foo","foo1")}}1' file.txt
I can find the mean of the number 1 after the {action}, I just want to know what is the meaning of that.
Your answer is much appreciated... thanks