I have searched, but I am confused

Please forgive me if a similar question has already been asked.:wink:

I have searched and found many possible solutions to my query.
I would appreciate it if someone can point me to a thread to accomplish my task.

I am trying to change values from a Master file to a File to be modified

Since there are about thousands of entries, I am trying to do this with a script and not manually.

Here is an example of one such entry.
Master file

Y:\Music\iTunes\iTunes Music\Andain\Beautiful Things\04 Beautiful Things (Photon Project remix).mp3	Beautiful Things (Photon Project remix)	Andain	138.00

File to be modified

<ENTRY MODIFIED_DATE="2008/11/16" MODIFIED_TIME="61889" AUDIO_ID="Ajw83d3d3d3d3d3d3d2p3d3d3d3d3d3d3d3azd3d3d3uuZZmd2VVj///////////////7P///////////////e/////////////////////////////////////////////////WVnd3h3msyqh7uJiM7+3O7cy7eKqqqrzczLu6qs3d3LvN3d7///3v///////////////J///////////////+//////////////////7N7cvszf/v/v7//////////////////////////////////+7/////////////////////////////////////////////////QQAAAA==" TITLE="Beautiful Things (Photon Project remix)" ARTIST="Andain"><LOCATION DIR="/Users/virgo/Music/iTunes/iTunes Music/Andain/Beautiful Things/" FILE="04 Beautiful Things (Photon Project remix).mp3" VOLUME="Macintosh HD" VOLUMEID="Macintosh HD"></LOCATION>
<ALBUM TRACK="4" TITLE="Beautiful Things"></ALBUM>
<INFO BITRATE="320000" GENRE="Trance" LABEL="Robbins Entertainment" COMMENT="Trance" COVERARTID="112:QHQJABBQRRIX0AZ3X5NXAUFX2EXD" PLAYCOUNT="4" PLAYTIME="571" RANKING="0" IMPORT_DATE="2008/11/4" LAST_PLAYED="2008/11/7" FILESIZE="22432"></INFO>
<TEMPO BPM="137.000473" BPM_QUALITY="100"></TEMPO>
<LOUDNESS PEAK_DB="-1.1137042" PERCEIVED_DB="-2.310534"></LOUDNESS>
<CUE_V2 NAME="AutoGrid" DISPL_ORDER="0" TYPE="4" START="3.6027959554479541" LEN="0" REPEATS="-1" HOTCUE="0"></CUE_V2>
</ENTRY>

The value I need to change in this example is from:

<TEMPO BPM="137.000473"

to

<TEMPO BPM="138.00"

What would the best approach be?
awk, sed or...?

Thanks;)

Hopefully 2 months isn't too long to answer a question :wink:

I think sed would be better here.

sed 's/TEMPO BPM="137.000473"/TEMPO BPM="138.00"/'