Words containing "the" substring: Difference between revisions

→‎{{header|Lua}}: added Lua solution
m (→‎{{header|Phix}}: use unix_dict())
(→‎{{header|Lua}}: added Lua solution)
Line 997:
weatherstrip weatherstripping
</pre>
 
=={{header|Lua}}==
<lang lua>for word in io.open("unixdict.txt", "r"):lines() do
if #word > 11 and word:find("the") then
print(word)
end
end</lang>
{{out}}
<pre>authenticate
chemotherapy
chrysanthemum
clothesbrush
clotheshorse
eratosthenes
featherbedding
featherbrain
featherweight
gaithersburg
hydrothermal
lighthearted
mathematician
neurasthenic
nevertheless
northeastern
northernmost
otherworldly
parasympathetic
physiotherapist
physiotherapy
psychotherapeutic
psychotherapist
psychotherapy
radiotherapy
southeastern
southernmost
theoretician
weatherbeaten
weatherproof
weatherstrip
weatherstripping</pre>
 
=={{header|min}}==
Anonymous user