Here's a "magic"A Perl one-liner for the job:alternative
perl -pne -e'print;print 'sif s/EUR\Z/AUD/ and print'' your_file
If you want to make the modifications to the file in place, just add the -i switch:
perl -pini -e 's'print;print if s/EUR\Z/AUD/ and print'' your_file