<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Remei,<div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre">   </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 class=""><div class="">
<br class=""><br class="">Leonid.

</div>
<div><br class=""><blockquote type="cite" class=""><div class="">On Nov 25, 2019, at 06:56, Remei González Manzanero <<a href="mailto:remeigonzalez@gmail.com" class="">remeigonzalez@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><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" class="">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" class="">Sorry for opening
again this topic. The second chstring command worked perfectly, but I tried
again the 1rst. one </span><i class=""><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" class="">chstring +s"\**"
"\**%aaa:\t\n" -w +1 *.cha</span></i><span lang="EN-US" class=""> 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;" class=""><span style="font-size:12pt;font-family:Arial,sans-serif;color:red" class="">\</span><span style="font-size:12pt;font-family:Arial,sans-serif" class="">namesubject:          sentence .</span></div><div style="margin: 0cm 0cm 0.0001pt; line-height: normal; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size:12pt;font-family:Arial,sans-serif;color:red" class="">*</span><span style="font-size:12pt;font-family:Arial,sans-serif" class="">%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" class=""> </span></p><div style="margin: 0cm 0cm 0.0001pt; line-height: normal; font-size: 11pt; font-family: Calibri, sans-serif;" class="">That it, it
introduces a <i class="">\</i> before the participants’
name, it supresses the <i class="">*</i> and writes the
<i class="">*</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;" class=""><span lang="EN-US" class=""> </span><br class="webkit-block-placeholder"></div><p class="MsoNormal" style="margin:0cm 0cm 10pt;line-height:115%;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US" class="">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 class="">.\n</i>,
and I wanted to replace it for <i class="">.\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 class=""><span lang="EN-US" class="">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" class="">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" class="">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" class="">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" class=""> </span><span style="font-size:11pt" class="">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" class="">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" class=""> </span><br class=""></p></div><div class=""><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class=""><div style="color:rgb(136,136,136)" class=""><font color="#444444" class=""><b class="">---</b></font></div><div class=""><font face="arial, helvetica, sans-serif" class=""><b class=""><font color="#666666" class="">Remei González Manzanero</font></b></font><br class=""><a href="mailto:remeigonzalez@gmail.com" style="color:rgb(17,85,204);font-size:12.8px;font-family:arial,helvetica,sans-serif" target="_blank" class=""><img src="http://www.google.com/a/help/intl/en/images/red_M_icon.gif" class=""> remeigonzalez@gmail.com</a><span style="color:rgb(136,136,136);font-size:12.8px;font-family:arial,helvetica,sans-serif" class=""> </span><font color="#444444" face="arial, helvetica, sans-serif" style="color:rgb(136,136,136)" class=""><b class=""><br class=""></b></font></div></div><div style="margin: 0cm 0cm 0.0001pt; line-height: normal; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" style="color:gray" class="">PhD Student</span></div>

<div class=""><span style="color:gray;font-family:Calibri,sans-serif;font-size:11pt" class="">Universitat de Barcelona<br class=""></span><a href="https://www.linkedin.com/in/remeigonzalez" style="font-family:arial,helvetica,sans-serif;font-size:12.8px" target="_blank" class=""><img src="https://docs.google.com/uc?export=download&id=19SSmQ1OjD8s06a3v5FtfPYPJ6TITJU4y&revid=0B2TJQMqQ6r_5MXpTbmU2d1JVcEhLNkNudjVDRk9QU21RdDBrPQ" class=""></a> <span style="font-family:arial,helvetica,sans-serif;font-size:12.8px" class=""><a href="https://twitter.com/remei_go" style="font-family:arial,helvetica,sans-serif;font-size:12.8px" target="_blank" class=""><img src="https://docs.google.com/uc?export=download&id=1mMuQBjK7-_QOBv-SGlpAVYA71dnH366-&revid=0B2TJQMqQ6r_5UXh2MWl0aUNsWWRodG83R3hMN0djR3lsVmhVPQ" class=""></a> <br class=""></span></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div><br class=""></div><br class=""><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" class="">remeigonzalez@gmail.com</a>>) escribió:<br class=""></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" class=""><div class=""><br class=""></div>Hello,<div class=""><br class=""></div><div class="">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 class=""><br class=""></div><div class="">Thank you very much, </div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Remei</div><div class=""><br class=""></div></div><div class=""><br class="webkit-block-placeholder"></div>

-- <br class="">
You received this message because you are subscribed to the Google Groups "chibolts" group.<br class="">
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:chibolts+unsubscribe@googlegroups.com" target="_blank" class="">chibolts+unsubscribe@googlegroups.com</a>.<br class="">
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" class="">https://groups.google.com/d/msgid/chibolts/8ea4f74f-e112-49c4-a6cd-948770f09643%40googlegroups.com</a>.<br class="">
</blockquote></div><div class=""><br class="webkit-block-placeholder"></div>

-- <br class="">
You received this message because you are subscribed to the Google Groups "chibolts" group.<br class="">
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:chibolts+unsubscribe@googlegroups.com" class="">chibolts+unsubscribe@googlegroups.com</a>.<br class="">
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" class="">https://groups.google.com/d/msgid/chibolts/CADc74BjxhFoiRrRJmk7e3awGR8RzrcBRG5e1Pp11dEQ4wNocPA%40mail.gmail.com</a>.<br class="">
</div></blockquote></div><br class=""></div></body></html>

<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/3BCAA7AB-251D-4D6F-B579-1A24FFDB83D2%40andrew.cmu.edu?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/chibolts/3BCAA7AB-251D-4D6F-B579-1A24FFDB83D2%40andrew.cmu.edu</a>.<br />