<div dir="ltr"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Dear Leonid, </div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Thank you for the fast response. As you said, I updated CLAN again and it worked. So, perfect and thank you very much. </div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">And regarding to the other question, I can't do replacements of endlines, but maybe I didn't find the proper expression to be written in the command. In any case, I found different ways to do it. </div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Thank you for your time. It's been very useful. </div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Best regards, </div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><div style="color:rgb(136,136,136)"><font color="#444444"><b>---</b></font></div><div><font face="arial, helvetica, sans-serif"><b><font color="#666666">Remei González Manzanero</font></b></font><br><a href="mailto:remeigonzalez@gmail.com" style="color:rgb(17,85,204);font-size:12.8px;font-family:arial,helvetica,sans-serif" target="_blank"><img src="http://www.google.com/a/help/intl/en/images/red_M_icon.gif"> remeigonzalez@gmail.com</a><span style="color:rgb(136,136,136);font-size:12.8px;font-family:arial,helvetica,sans-serif"> </span><font color="#444444" face="arial, helvetica, sans-serif" style="color:rgb(136,136,136)"><b><br></b></font></div></div><div><a href="https://www.linkedin.com/in/remeigonzalez" style="font-family:arial,helvetica,sans-serif;font-size:12.8px" target="_blank"><img src="https://docs.google.com/uc?export=download&id=19SSmQ1OjD8s06a3v5FtfPYPJ6TITJU4y&revid=0B2TJQMqQ6r_5MXpTbmU2d1JVcEhLNkNudjVDRk9QU21RdDBrPQ"></a> <span style="font-family:arial,helvetica,sans-serif;font-size:12.8px"><a href="https://twitter.com/remei_go" style="font-family:arial,helvetica,sans-serif;font-size:12.8px" target="_blank"><img src="https://docs.google.com/uc?export=download&id=1mMuQBjK7-_QOBv-SGlpAVYA71dnH366-&revid=0B2TJQMqQ6r_5UXh2MWl0aUNsWWRodG83R3hMN0djR3lsVmhVPQ"></a> </span></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El lun., 25 nov. 2019 a las 17:30, Leonid Spektor (<<a href="mailto:spektor@andrew.cmu.edu">spektor@andrew.cmu.edu</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;">Remei,<div><br></div><div><span style="white-space:pre-wrap">    </span>The command that you are using only works with newer version of CLAN. There was a problem with CLAN before which cause the effect that you are describing. I had fixed CLAN and the one time that you say the command worked for you must be when you used that newer version of CLAN. Please make sure that you are using the latest version of CLAN.<br><div>
<br><br>Leonid.

</div>
<div><br><blockquote type="cite"><div>On Nov 25, 2019, at 06:56, Remei González Manzanero <<a href="mailto:remeigonzalez@gmail.com" target="_blank">remeigonzalez@gmail.com</a>> wrote:</div><br><div><div dir="ltr"><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif"><p class="MsoNormal" style="margin:0cm 0cm 10pt;line-height:115%;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US">Hello
again, </span></p><p class="MsoNormal" style="margin:0cm 0cm 10pt;line-height:115%;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US">Sorry for opening
again this topic. The second chstring command worked perfectly, but I tried
again the 1rst. one </span><i><span style="font-size:7pt;line-height:115%;font-family:Arial,sans-serif;color:rgb(255,38,0);border:1pt none windowtext;padding:0cm;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial">chstring +s"\**"
"\**%aaa:\t\n" -w +1 *.cha</span></i><span lang="EN-US"> and it didn’t give me the output I was looking for. It gave me:</span></p><div style="margin:0cm 0cm 0.0001pt;line-height:normal;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:12pt;font-family:Arial,sans-serif;color:red">\</span><span style="font-size:12pt;font-family:Arial,sans-serif">namesubject:          sentence .</span></div><div style="margin:0cm 0cm 0.0001pt;line-height:normal;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:12pt;font-family:Arial,sans-serif;color:red">*</span><span style="font-size:12pt;font-family:Arial,sans-serif">%aaa:</span></div><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;line-height:normal;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:12pt;font-family:Arial,sans-serif"> </span></p><div style="margin:0cm 0cm 0.0001pt;line-height:normal;font-size:11pt;font-family:Calibri,sans-serif">That it, it
introduces a <i>\</i> before the participants’
name, it supresses the <i>*</i> and writes the
<i>*</i> before the name of the dependent
tier. </div><div style="margin:0cm 0cm 10pt;line-height:115%;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US"> </span><br></div><p class="MsoNormal" style="margin:0cm 0cm 10pt;line-height:115%;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US">I’ve been
trying to execute the command chstring in CLAN, looking for the most suitable
regular expression to be replaced. I searched the expression “period followed
by an endline” to replace it for that same one plus %aaa, that is,  <i>.\n</i>,
and I wanted to replace it for <i>.\n%aaa</i>,
executing the next command: </span></p><p class="MsoNormal" style="margin:0cm 0cm 10pt;line-height:115%;font-size:11pt;font-family:Calibri,sans-serif"><i><span lang="EN-US">chstring +s".\n" ".\n%aaa –w +1 </span></i></p><p class="MsoNormal" style="margin:0cm 0cm 10pt;line-height:115%;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US">But it
doesn’t replace it. I believe that the search function in CLAN can’t search the
endline using \n, although it works when that is what’s replaced. Is that so?</span></p><p class="MsoNormal" style="margin:0cm 0cm 10pt;line-height:115%;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US">The easiest
solution I found is doing the replacement using an editor, but I am really
curious about it and I wanted to ask if that’s the case. </span></p><p class="MsoNormal" style="margin:0cm 0cm 10pt;line-height:115%;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US">On the
other side, using the editor to do the replacements, it also happened that *
before the participant’s name was erased, so for some reason I had to replace
it for the same expression  + the dependent’s
tier + an asterisk at the end because this one was erased. </span></p><p class="MsoNormal" style="margin:0cm 0cm 10pt;line-height:115%;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US"> </span><span style="font-size:11pt">Thank you
in advance and thank you for your help.</span></p><p class="MsoNormal" style="margin:0cm 0cm 10pt;line-height:115%;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US">Regards, </span></p><p class="MsoNormal" style="margin:0cm 0cm 10pt;line-height:115%;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:11pt"> </span><br></p></div><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><div style="color:rgb(136,136,136)"><font color="#444444"><b>---</b></font></div><div><font face="arial, helvetica, sans-serif"><b><font color="#666666">Remei González Manzanero</font></b></font><br><a href="mailto:remeigonzalez@gmail.com" style="color:rgb(17,85,204);font-size:12.8px;font-family:arial,helvetica,sans-serif" target="_blank"><img src="http://www.google.com/a/help/intl/en/images/red_M_icon.gif"> remeigonzalez@gmail.com</a><span style="color:rgb(136,136,136);font-size:12.8px;font-family:arial,helvetica,sans-serif"> </span><font color="#444444" face="arial, helvetica, sans-serif" style="color:rgb(136,136,136)"><b><br></b></font></div></div><div style="margin:0cm 0cm 0.0001pt;line-height:normal;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US" style="color:gray">PhD Student</span></div>

<div><span style="color:gray;font-family:Calibri,sans-serif;font-size:11pt">Universitat de Barcelona<br></span><a href="https://www.linkedin.com/in/remeigonzalez" style="font-family:arial,helvetica,sans-serif;font-size:12.8px" target="_blank"><img src="https://docs.google.com/uc?export=download&id=19SSmQ1OjD8s06a3v5FtfPYPJ6TITJU4y&revid=0B2TJQMqQ6r_5MXpTbmU2d1JVcEhLNkNudjVDRk9QU21RdDBrPQ"></a> <span style="font-family:arial,helvetica,sans-serif;font-size:12.8px"><a href="https://twitter.com/remei_go" style="font-family:arial,helvetica,sans-serif;font-size:12.8px" target="_blank"><img src="https://docs.google.com/uc?export=download&id=1mMuQBjK7-_QOBv-SGlpAVYA71dnH366-&revid=0B2TJQMqQ6r_5UXh2MWl0aUNsWWRodG83R3hMN0djR3lsVmhVPQ"></a> <br></span></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El jue., 14 nov. 2019 a las 11:25, Remei González Manzanero (<<a href="mailto:remeigonzalez@gmail.com" target="_blank">remeigonzalez@gmail.com</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><br></div>Hello,<div><br></div><div>I'll go with the CHSTRING command this time, is perfect, it worked, and for future more complex cases I'll go with SublimeText or simmilars. </div><div><br></div><div>Thank you very much, </div><div><br></div><div><br></div><div>Remei</div><div><br></div></div><div><br></div>

-- <br>
You received this message because you are subscribed to the Google Groups "chibolts" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:chibolts+unsubscribe@googlegroups.com" target="_blank">chibolts+unsubscribe@googlegroups.com</a>.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/chibolts/8ea4f74f-e112-49c4-a6cd-948770f09643%40googlegroups.com?utm_medium=email&utm_source=footer" target="_blank">https://groups.google.com/d/msgid/chibolts/8ea4f74f-e112-49c4-a6cd-948770f09643%40googlegroups.com</a>.<br>
</blockquote></div><div><br></div>

-- <br>
You received this message because you are subscribed to the Google Groups "chibolts" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:chibolts+unsubscribe@googlegroups.com" target="_blank">chibolts+unsubscribe@googlegroups.com</a>.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/chibolts/CADc74BjxhFoiRrRJmk7e3awGR8RzrcBRG5e1Pp11dEQ4wNocPA%40mail.gmail.com?utm_medium=email&utm_source=footer" target="_blank">https://groups.google.com/d/msgid/chibolts/CADc74BjxhFoiRrRJmk7e3awGR8RzrcBRG5e1Pp11dEQ4wNocPA%40mail.gmail.com</a>.<br>
</div></blockquote></div><br></div></div>

<p></p>

-- <br>
You received this message because you are subscribed to the Google Groups "chibolts" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:chibolts+unsubscribe@googlegroups.com" target="_blank">chibolts+unsubscribe@googlegroups.com</a>.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/chibolts/3BCAA7AB-251D-4D6F-B579-1A24FFDB83D2%40andrew.cmu.edu?utm_medium=email&utm_source=footer" target="_blank">https://groups.google.com/d/msgid/chibolts/3BCAA7AB-251D-4D6F-B579-1A24FFDB83D2%40andrew.cmu.edu</a>.<br>
</blockquote></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups "chibolts" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:chibolts+unsubscribe@googlegroups.com">chibolts+unsubscribe@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/chibolts/CADc74BiFVv378h9uvFdFjMiqAwvZ-%3DnU%2BQWh2Z38snn_NtwThw%40mail.gmail.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/chibolts/CADc74BiFVv378h9uvFdFjMiqAwvZ-%3DnU%2BQWh2Z38snn_NtwThw%40mail.gmail.com</a>.<br />