Guest_imported
New member
- Jan 1, 1970
- 0
I want to substitute all the words in my text that end on 'sses' by the word ending on 'ss', so kisses and misses becomes kiss and miss. I wanted to do it with gsub:
{ gsub(/.*sses/,???) }
but I don't think AWK has a memory to remember what's in .*.
Is there any way I can do this with AWK?
{ gsub(/.*sses/,???) }
but I don't think AWK has a memory to remember what's in .*.
Is there any way I can do this with AWK?