sh-2.02$ grep zx /usr/share/dict/words sh-2.02$ grep zy /usr/share/dict/words breezy bronzy buzzy chintzy cozy crazy dizzy enzymatic enzyme enzymology frenzy frizzy frowzy fuzzy gauzy hazy heterozygous homozygous jazzy lazy lazybones sleazy snazzy syzygy tizzy wheezy zygote sh-2.02$ grep zy$ /usr/dict/words breezy bronzy buzzy chintzy cozy crazy dizzy frenzy frizzy frowzy fuzzy gauzy hazy jazzy lazy sleazy snazzy tizzy wheezy sh-2.02$ grep ^b.*zy /usr/dict/words breezy bronzy buzzy sh-2.02$ grep ^[aeious].*zy /usr/dict/words enzymatic enzyme enzymology sleazy snazzy syzygy sh-2.02$ vowel=[aeiou] sh-2.02$ grep ^$vowel.*zy /usr/dict/words enzymatic enzyme enzymology sh-2.02$ constant=[a-z] sh-2.02$ grep ^$constant.*zy /usr/dict/words breezy bronzy buzzy chintzy cozy crazy dizzy enzymatic enzyme enzymology frenzy frizzy frowzy fuzzy gauzy hazy heterozygous homozygous jazzy lazy lazybones sleazy snazzy syzygy tizzy wheezy sh-2.02$ grep ^z.*$vowel$ /usr/dict/words zebra zero zeta zinnia zombie zone zoo zucchini zygote sh-2.02$ w= /usr/dict/words sh: /usr/dict/words: Permission denied sh-2.02$ w=/usr/dict/words sh-2.02$ echo w w sh-2.02$ echo $w /usr/dict/words sh-2.02$ grep ^z.*z$ $w sh-2.02$ grep ^y.*y$ $w yeasty yeomanry yesterday