<p dir="ltr">The "do" will execute the command without a /r, but it didn't break the command either.  It looks like one of your ppa does not support the version of your Ubuntu.  I bet the rest of them added OK though.  You should see them when you run<br>
apt-cache policy</p>
<div class="gmail_quote">On Mar 26, 2016 8:47 PM, "Michael" <<a href="mailto:bmike1@gmail.com">bmike1@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I was wondering what I should do to enter a carriage return after each add-apt and I didn't want to ask so.... I did a search for the information. I discovered that to do it I just need to put a '\r'. Cool? I thought so.... until I ran the command. After running the command it spat out:<div><br></div><div><div>$ for rep in ppa:dhor/myway ppa:hugin/hugin-builds ppa:mc3man/trusty-media ppa:nilarimogard/webupd8 ppa:otto-kesselgulasch/gimp ppa:yannubuntu/boot-repair; do sudo add-apt-repository $rep\r ; done </div><div>[sudo] password for bmike1: </div><div>'This PPA does not support trusty'<br></div><div>Cannot add PPA: ''This PPA does not support trusty''.</div><div><br></div></div><div>I'm pretty sure the problem is the \r because it doesn't say that when I hit the return key.</div><div>My websearch was fruitless so..... will I just have to press enter</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Mar 26, 2016 at 9:23 PM, Michael <span dir="ltr"><<a href="mailto:bmike1@gmail.com" target="_blank">bmike1@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">DUH! I should have looked at it and figured it out. Thanks for that buddy.</div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Mar 26, 2016 at 8:38 PM, Brien Dieterle <span dir="ltr"><<a href="mailto:briend@gmail.com" target="_blank">briend@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Put the sudo in front of the add add repo command, or see this<br>
<a href="http://stackoverflow.com/questions/10889072/using-sudo-with-for-loop" target="_blank">http://stackoverflow.com/questions/10889072/using-sudo-with-for-loop</a></p><div><div>
<div class="gmail_quote">On Mar 25, 2016 8:00 PM, "Michael" <<a href="mailto:bmike1@gmail.com" target="_blank">bmike1@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">not quite:<div><br></div><div><div>sudo for rep in ppa:dhor/myway ppa:hugin/hugin-builds ppa:mc3man/trusty-media ppa:nilarimogard/webupd8 ppa:otto-kesselgulasch/gimp ppa:yannubuntu/boot-repair; do add-apt-repository $rep ; done </div><div>bash: syntax error near unexpected token `do'</div></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 25, 2016 at 9:57 PM, Rusty Carruth <span dir="ltr"><<a href="mailto:rustycar54@descomp.com" target="_blank">rustycar54@descomp.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <br>
    <br>
    <div>On 03/25/2016 01:30 PM, Carruth, Rusty
      wrote:<br>
    </div>
    <blockquote type="cite">
      
      
      
      <div>
        <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">for
            rep in <whatever1> <whatever2> <
            whatever3> ; do add-apt-repository $rep ; done<u></u><u></u></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">There. 
            A command that will take a list of repos.  And if you did
            that a lot, make it an alias or a function:<u></u><u></u></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">function
            addrepos() { for rep in $* ; do add-apt-repository $rep ;
            done ; }<u></u><u></u></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Put
            in bashrc or whatever and there you go, a single command.<u></u><u></u></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
        <p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">
            <a href="mailto:plug-discuss-bounces@lists.phxlinux.org" target="_blank">plug-discuss-bounces@lists.phxlinux.org</a>
            [<a href="mailto:plug-discuss-bounces@lists.phxlinux.org" target="_blank">mailto:plug-discuss-bounces@lists.phxlinux.org</a>]
            <b>On Behalf Of </b>Michael<br>
            <u></u><u></u></span></p><span>
        <p class="MsoNormal"><u></u> <u></u></p>
        <div>
          <p class="MsoNormal">bummer. thanks for the news!<u></u><u></u></p>
        </div>
        <div>
          <p class="MsoNormal"><u></u> <u></u></p>
          <div>
            <p class="MsoNormal">On Fri, Mar 25, 2016 at 1:01 PM, Brian
              Cluff <<a href="mailto:brian@snaptek.com" target="_blank">brian@snaptek.com</a>>
              wrote:<u></u><u></u></p>
            <div>
              <p class="MsoNormal"><span style="font-size:9.5pt">add-apt-repository
                  only takes a single repository at a time.<br>
                  <br>
                  Brian</span><u></u><u></u></p>
              <div>
                <div>
                  <p class="MsoNormal"><u></u> <u></u></p>
                  <div>
                    <p class="MsoNormal">On 03/25/2016 06:10 AM, Michael
                      wrote:<u></u><u></u></p>
                  </div>
                </div>
              </div>
              <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
                <div>
                  <div>
                    <div>
                      <p class="MsoNormal">does <span style="font-size:9.5pt"> 'add-apt-repository
                          <whatever>' work like 'apt-get install
                          <whatever>' where you can just list the
                          repositories after one ' add-apt-repository?</span><br clear="all">
                        <u></u><u></u></p>
                      <div>
                        <p class="MsoNormal"><span style="font-size:9.5pt">'add-apt-repository
                            <whatever1> <whatever2> <whatever3> <whatever4>'
                          </span><br>
                        </p>
                      </div>
                    </div>
                  </div>
                </div>
              </blockquote>
            </div>
          </div>
        </div>
      </span></div>
    </blockquote>
    <br>
  </div>

<br>---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" rel="noreferrer" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div><div dir="ltr"><div><span style="font-size:12.8000001907349px">:-)~MIKE~(-:</span><br></div></div></div></div></div>
</div>
<br>---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" rel="noreferrer" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br></blockquote></div>
</div></div><br>---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" rel="noreferrer" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div><div dir="ltr"><div><span style="font-size:12.8000001907349px">:-)~MIKE~(-:</span><br></div></div></div></div></div>
</div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div><div dir="ltr"><div><span style="font-size:12.8000001907349px">:-)~MIKE~(-:</span><br></div></div></div></div></div>
</div>
<br>---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" rel="noreferrer" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br></blockquote></div>