removing %cod lines

Kevin Donnelly kevin at
Thu Apr 5 15:31:37 UTC 2012

Hi Yuriko

::::On Thursday 05 April 2012 Yuriko Oshima-Takane said::::
> One of my students in my class wants to remove the coding lines from the
> transcripts.
> Is there any CLAN command for this?  Thanks for  your help.

If you're on Linux, you can use sed:
sed -i '/%cod/ d' path/to/file.cha

To do a whole directory of files, use a bash script like:
for f in $FILES
sed -i '/%cod/ d' $f
or, from the command line, run:
for file in path/to/chat/files/*.cha; do
sed -i '/%cod/ d' $f

If you're on Windows, you could install Gow:
which includes sed and bash.

Pob hwyl / Best wishes

Kevin Donnelly

You received this message because you are subscribed to the Google Groups "chibolts" group.
To post to this group, send email to chibolts at
To unsubscribe from this group, send email to chibolts+unsubscribe at
For more options, visit this group at

More information about the Chibolts mailing list