<commit_before>#include <stdlib.h>
#include <stdio.h>
#include <string.h>

int main(void)
{
	char c;
	unsigned int i=0;
	char* begin="<script>";
	char* end="</script>";

	char s[16];

	do
	{
		c=getchar();

		if(c==*begin)
		{
			s[0]=c;

			for(i=1; begin[i]==(c=getchar()); i++)
				s[i]=c;
			s[i]='\0';
			if(i==strlen(begin))
				while(1);
			else
				printf(s);
		}

		putchar(c);
	}while(c!=EOF);

	return 0;
}<commit_msg>nojs works in most cases now.<commit_after>#include <stdlib.h>
#include <stdio.h>
#include <string.h>

int main(void)
{
	char c;
	unsigned int i=0, fin;
	char* begin="<script>";
	char* end="</script>";

	char s[16];

	do
	{
		c=getchar();

		if(c==*begin)
		{
			s[0]=c;

			for(i=1; begin[i]==(c=getchar()); i++)
				s[i]=c;
			s[i]='\0';

			if(i==strlen(begin))
			{
				ungetc(c, stdin);
				fin=0;
				while(!fin)
				{
					for(i=0; end[i]==(c=getchar()); i++);
					if(i==strlen(end))
						fin=1;
				}
			}
			else
				printf(s);
		}
		putchar(c);
	}while(c!=EOF);

	return 0;
}
{'fraction_non_alphanumeric': 0.24311023622047245, 'fraction_numerical': 0.017716535433070866, 'mean_word_length': 3.0039370078740157, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3530360', 'n_tokens_mistral': 575, 'n_tokens_neox': 479, 'n_words': 86}