<html><head><meta http-equiv="content-type" content="text/html; charset=us-ascii"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">Hi Janet,<div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>Sorry for delay in reply. I remember that we had to do the same thing for our data and I vaguely remember we had a command to do it for many files at the time. But, unfortunately I cannot seem to find that command anywhere.</div><div><br></div><div><br></div><div>One suggestion I have to use BBEdit editor. It has a good Grep function which will help identify the right "&" symbols.</div><div><br></div><div><br></div><div>You can also do it in two passes. First, use the following command to replace all '&' symbols with '&+':</div><div><br></div><div>chstring -w +s"&" "&+" *.cha</div><div><br></div><div>Next use CHSTRING command to replace mistakes that the first command might have created. For example,</div><div><br></div><div>chstring -w +s"&+~" "&~" +s"&+=" "&=" +s"&+-" "&-" *.cha</div><div><div>
<div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Arial; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"><br class="Apple-interchange-newline"><br></div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Arial; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;">Leonid.</div>
</div>
<div><br><blockquote type="cite"><div>On Jun 2, 2025, at 18:21, 'Janet Bang' via chibolts <chibolts@googlegroups.com> wrote:</div><br class="Apple-interchange-newline"><div>Hello, <br><br>I am preparing transcripts to contribute to CHILDES, and at the time of transcription we were using the "&" symbol for phonological fragments. <div><br></div><div>Is there a code that we could use to automatically replace these to the "&+"? This was coming up as an error when using CHECK, and I was hoping to clear these to identify any other issues before contributing. <br><br>Thank you!<br>Janet</div><div><br class="webkit-block-placeholder"></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">chibolts+unsubscribe@googlegroups.com</a>.<br>
To view this discussion visit <a href="https://groups.google.com/d/msgid/chibolts/837c4db2-b024-4b6a-a5d5-902d03eddf60n%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/chibolts/837c4db2-b024-4b6a-a5d5-902d03eddf60n%40googlegroups.com</a>.<br>
</div></blockquote></div><br></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 visit <a href="https://groups.google.com/d/msgid/chibolts/B246CE0C-7F2C-4AEF-AA0D-38A94368388A%40andrew.cmu.edu?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/chibolts/B246CE0C-7F2C-4AEF-AA0D-38A94368388A%40andrew.cmu.edu</a>.<br />