does '>>' append directly after or put it on a new line

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: Michael Havens
Date:  
To: PLUG
Subject: does '>>' append directly after or put it on a new line
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~(-:
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss