Remove vowels from a string: Difference between revisions
Content deleted Content added
Add ed example |
|||
Line 774:
print rmv "The Quick Brown Fox Jumped Over the Lazy Dog's Back"
</syntaxhighlight>
=={{header|ed}}==
Solution adapted from [[Strip a set of characters from a string]]
<syntaxhighlight lang="sed">
H
g/.*/s/[aeiou]//g
,p
Q
</syntaxhighlight>
{{out}}
<pre>$ cat strip-vowels.ed | ed -lEGs strip-vowels.input
Newline appended
THE QUICK BROWN FOX jmps vr th lzy dg</pre>
=={{header|F_Sharp|F#}}==
|