all of my instructions for reinstalling my computers is saved into a text file for each computer. the pi is a new computer and I am doing it slightly different. Here is what I have written:

sudo echo 'deb http://archive.mene.za.net/raspbian wheezy contrib' >> /etc/apt/sources.list
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key 5243CDED
sudo apt-get update
sudo apt-get install kodi

All I want is to verify that:

sudo echo 'deb http://archive.mene.za.net/raspbian wheezy contrib' >> /etc/apt/sources.list

will put the:

deb http://archive.mene.za.net/raspbian wheezy contrib

on it's own line. I have always edited sources.list rather than use '>>' previously.
:-)~MIKE~(-: