I before E except after C: Difference between revisions

Line 252:
<lang dos>@echo off
setlocal enableDelayedExpansion
for /f %%A in ('findstr "^ie [^c]ie" unixdict.txt ^| find /c /v ""') do set Atrue=%%A
for /f %%A in ('findstr "^ei [^c]ei" unixdict.txt ^| find /c /v ""') do set Afalse=%%A
for /f %%A in ('findstr "[c]ei" unixdict.txt ^| find /c /v ""') do set Btrue=%%A
for /f %%A in ('findstr "[c]ie" unixdict.txt ^| find /c /v ""') do set Bfalse=%%A
Line 262:
echo I before E, except after C : !Answer%Result%!</lang>
{{Out}}
<pre>I before E when not preceded by C: True=464465 False=194213 : Plausible
E before I when preceded by C: True=13 False=24 : Implausible
I before E, except after C : Implausible</pre>
Anonymous user