xref: /illumos-gate/usr/src/test/util-tests/tests/awk/gnu/widesub2.awk (revision 45ede40b2394db7967e59f19288fae9b62efd4aa)
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