awk/testdir/t.sub0
Arnold D. Robbins d6c466c367 Extract testdir.
2019-06-23 03:13:57 -06:00

19 lines
396 B
Plaintext

{sub(/[aeiou]/, "foo"); print}
{sub("[aeiou]", "foo"); print}
{gsub(/[aeiou]/, "foo"); print}
{gsub("[aeiou]", "foo"); print}
{sub(/[aeiou]/, "&foo"); print}
{sub("[aeiou]", "&foo"); print}
{gsub(/[aeiou]/, "&foo"); print}
{gsub("[aeiou]", "&foo"); print}
{sub(/[aeiou]/, "\&foo"); print}
{sub("[aeiou]", "\&foo"); print}
{gsub(/[aeiou]/, "\&foo"); print}
{gsub("[aeiou]", "\&foo"); print}