I have a whole bunch of xml files that i want to make a change in.....
I want to replace the FIRST occurance of the word Update with the word Insert. I have about 20,000 files, and I want to overtwrite the in files with the update.
for i in `ls 1 2 3 4 5 6 7 8`; do sed -e s/Update/Insert/g $i > $i
seenms to wipe out the files.
thanks in advance