<html><head></head><body text="#000000" bgcolor="#FFFFFF" lang="de-DE" style="background-color: rgb(255, 255, 255); line-height: initial;">                                                                                      <div style="width: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif, sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);">Hallo Uwe,</div><div style="width: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif, sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);"><br></div><div style="width: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif, sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);">Fuer TCL 8.1 ist da in der Hilfe was zu geschrieben.</div><div style="width: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif, sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);"><span style="font-size: initial; text-align: initial; line-height: initial;"><br></span></div><div style="width: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif, sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);"><span style="font-size: initial; text-align: initial; line-height: initial;">$ matcht Ende des Strings.</span></div><div style="width: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif, sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);"><span style="font-size: initial; text-align: initial; line-height: initial;"><br></span></div><div style="width: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif, sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);"><span style="font-size: initial; text-align: initial; line-height: initial;">Also probier mal </span><span style="line-height: initial;">regsub "Windows[^\n]*" $data Linux</span></div>                                                                                                                                     <div style="width: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif, sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);"><br></div><div style="width: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif, sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);">Meint</div><div style="width: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif, sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);">Ingo</div><div style="width: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif, sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);"><br></div>                                                                                                                                                                                                   <div style="font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif, sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);">Gesendet von meinem BlackBerry 10-Smartphone.</div>                                                                                                                                                                                  <table width="100%" style="background-color:white;border-spacing:0px;"> <tbody><tr><td colspan="2" style="font-size: initial; text-align: initial; background-color: rgb(255, 255, 255);">                           <div style="border-style: solid none none; border-top-color: rgb(181, 196, 223); border-top-width: 1pt; padding: 3pt 0in 0in; font-family: Tahoma, 'BB Alpha Sans', 'Slate Pro'; font-size: 10pt;">  <div><b>Von: </b>Uwe Berger‎</div><div><b>Gesendet: </b>Dienstag, 13. Februar 2018 17:58</div><div><b>An: </b>bralug@bralug.de</div><div><b>Antwort an: </b>Die BraLUG-Mailingliste</div><div><b>Betreff: </b>Re: [BraLUG] Hilfe bei Regular Expression</div></div></td></tr></tbody></table><div style="border-style: solid none none; border-top-color: rgb(186, 188, 209); border-top-width: 1pt; font-size: initial; text-align: initial; background-color: rgb(255, 255, 255);"></div>‎<br><div id="_originalContent" style="background-color: rgb(255, 255, 255);">
  
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  
  
    <p>Moin,</p>
    <p>hmm, so ähnlich hatte ich es bei meinen Versuchen auch schon
      gedeutet, aber da wird der ganze Rest bis EOF weggerammelt...</p>
    <p>Tcl:</p>
    <p>set data "yyyyWindows98\n\rdas ist die naechste Zeile\n\r"<br>
      puts $data<br>
      regsub Windows.*$ $data Linux data<br>
      puts $data<br>
    </p>
    <br>
    Stdout:<br>
    <br>
    yyyyWindows98<br>
    das ist die naechste Zeile<br>
    <br>
    yyyyLinux<br>
    <br>
    <br>
    Es müsste noch "das ist die naechste Zeile" (auf einer neuen Zeile
    etc.) erhalten bleiben :-(...<br>
    <br>
    Grüße Uwe<br>
    <br>
    <br>
    <div class="moz-cite-prefix">Am 13.02.2018 um 16:44 schrieb Ingo
      Schaefer:<br>
    </div>
    <blockquote type="cite" cite="mid:20180213154411.6119510.18141.16365@ingo-schaefer.de">
      <div style="width: 100%; font-size: initial; font-family: Calibri,
        'Slate Pro', sans-serif, sans-serif; color: rgb(31, 73, 125);
        text-align: initial; background-color: rgb(255, 255, 255);">Hallo
        Uwe,</div>
      <div style="width: 100%; font-size: initial; font-family: Calibri,
        'Slate Pro', sans-serif, sans-serif; color: rgb(31, 73, 125);
        text-align: initial; background-color: rgb(255, 255, 255);"><br>
      </div>
      <div style="width: 100%; font-size: initial; font-family: Calibri,
        'Slate Pro', sans-serif, sans-serif; color: rgb(31, 73, 125);
        text-align: initial; background-color: rgb(255, 255, 255);">Normalerweise
        matcht $ auf das Zeilen-Ende.</div>
      <div style="width: 100%; font-size: initial; font-family: Calibri,
        'Slate Pro', sans-serif, sans-serif; color: rgb(31, 73, 125);
        text-align: initial; background-color: rgb(255, 255, 255);"><br>
      </div>
      <div style="width: 100%; font-size: initial; font-family: Calibri,
        'Slate Pro', sans-serif, sans-serif; color: rgb(31, 73, 125);
        text-align: initial; background-color: rgb(255, 255, 255);">Ein
        s/Windows.*$/Linux/g sollte so eine Expression sein.</div>
      <div style="width: 100%; font-size: initial; font-family: Calibri,
        'Slate Pro', sans-serif, sans-serif; color: rgb(31, 73, 125);
        text-align: initial; background-color: rgb(255, 255, 255);"><br>
      </div>
      <div style="width: 100%; font-size: initial; font-family: Calibri,
        'Slate Pro', sans-serif, sans-serif; color: rgb(31, 73, 125);
        text-align: initial; background-color: rgb(255, 255, 255);">Ob
        die in der TCL-Variante auch so funktioniert, kann ich mangels
        passender technischer Mittel gerade nicht ausprobieren. (kurz:
        mag jetzt auf dem Bahnsteig den Laptop nicht herauskramen)</div>
      <div style="width: 100%; font-size: initial; font-family: Calibri,
        'Slate Pro', sans-serif, sans-serif; color: rgb(31, 73, 125);
        text-align: initial; background-color: rgb(255, 255, 255);"><br>
      </div>
      <div style="width: 100%; font-size: initial; font-family: Calibri,
        'Slate Pro', sans-serif, sans-serif; color: rgb(31, 73, 125);
        text-align: initial; background-color: rgb(255, 255, 255);">Liebe
        Gruesse,</div>
      <div style="width: 100%; font-size: initial; font-family: Calibri,
        'Slate Pro', sans-serif, sans-serif; color: rgb(31, 73, 125);
        text-align: initial; background-color: rgb(255, 255, 255);">Ingo</div>
      <div style="width: 100%; font-size: initial; font-family: Calibri,
        'Slate Pro', sans-serif, sans-serif; color: rgb(31, 73, 125);
        text-align: initial; background-color: rgb(255, 255, 255);"><br>
      </div>
      <div style="font-size: initial; font-family: Calibri, 'Slate Pro',
        sans-serif, sans-serif; color: rgb(31, 73, 125); text-align:
        initial; background-color: rgb(255, 255, 255);">Gesendet von meinem BlackBerry 10-Smartphone.</div>
      <table style="background-color:white;border-spacing:0px;" width="100%">
        <tbody>
          <tr>
            <td colspan="2" style="font-size: initial; text-align:
              initial; background-color: rgb(255, 255, 255);">
              <div style="border-style: solid none none;
                border-top-color: rgb(181, 196, 223); border-top-width:
                1pt; padding: 3pt 0in 0in; font-family: Tahoma, 'BB
                Alpha Sans', 'Slate Pro'; font-size: 10pt;">
                <div><b>Von: </b>Uwe Berger</div>
                <div><b>Gesendet: </b>Dienstag, 13. Februar 2018 16:39</div>
                <div><b>An: </b><a class="moz-txt-link-abbreviated" href="mailto:bralug@bralug.de">bralug@bralug.de</a></div>
                <div><b>Antwort an: </b>Die BraLUG-Mailingliste</div>
     <br><!--end of _originalContent --></div></td></tr></tbody></table></blockquote></div></body></html>