in reply to ^ to :

Do you know how the -p and -i options work?

Do you write the data back to the file?