Need help reversing this code

ssh servername.com "echo /$APP=$BUSIN >> $URI; echo /$APP/*=$BUSIN >> $URI"

Ok for example here i ssh into a example servername.com, and I think what it does some line gets put into the urifile , my question is, how would i go about removing that in a script.

in summary, the above code is in an install script, i need help comming up with a line that does the OPPOSITE (remove) that what that code those. thanks!

---------- Post updated at 02:59 PM ---------- Previous update was at 08:35 AM ----------

do i need to use grep or something?

can you explain what it does first?

Well, thats the thing, i think it puts some lines in the properties file

try backing up first and just replace it back after..

ssh servername.com "cp $URI ${URI}.BAK;echo /$APP=$BUSIN >> $URI; echo /$APP/*=$BUSIN >> $URI"

sh servername.com "mv ${URI}.BAK $URI"

it's an idea