I have 3000 words that are repeated (ARG ARG ARG ARG ....)
I am trying to search and replace the 500th word by 'UIO'
I have been trying it with sed -i 's/ARG/UIO/500' filename.txtsed -i 's/ARG/UIO/500' filename.txt
I have also tried it with sed -i 's/ARG/UIO/500g' filename.txtsed -i 's/ARG/UIO/500g' filename.txt but it does not work.
I does not report any mistake but it doesntdoesn't change anything in filename.txtfilename.txt either.
What would you recommend me to do?