xref: /illumos-gate/usr/src/test/util-tests/tests/awk/gnu/widesub2.awk (revision 8a2b682e57a046b828f37bcde1776f131ef4629f)
1BEGIN {
2	Value = "abc"
3
4	print "Before <" Value "> ", index( Value, "bc" )
5
6	sub( /bc/, "bbc", Value )
7
8	print "After  <" Value ">", index( Value, "bc" )
9}
10