Pangram checker: Difference between revisions
→{{header|UNIX Shell}}: Make portable across shells, remove unneeded quotes
Thundergnat (talk | contribs) m (→{{header|Raku}}: add missing necessary semicolon, remove redundant optional semicolon) |
(→{{header|UNIX Shell}}: Make portable across shells, remove unneeded quotes) |
||
Line 3,354:
=={{header|UNIX Shell}}==
{{works with|Bourne Again SHell}}
{{works with|Korn Shell}}
<syntaxhighlight lang="bash">function pangram? {▼
{{works with|Z Shell}}
local alphabet=abcdefghijklmnopqrstuvwxyz▼
while [[
alphabet=${alphabet/$ch}
done
[[ -z
}</syntaxhighlight>
|