Last active
August 29, 2015 14:19
-
-
Save matthewpizza/6838e76a6e9ea427510c to your computer and use it in GitHub Desktop.
n vwls.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| vowels=( A a E e I i O o U u Y y ) | |
| input=$1 | |
| for vowel in "${vowels[@]}" | |
| do | |
| input="${input//$vowel/}" | |
| done | |
| echo $input |
Author
matthewpizza
commented
Apr 23, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment