xref: /illumos-gate/usr/src/test/util-tests/tests/awk/gnu/widesub.awk (revision 9b9d39d2a32ff806d2431dbcc50968ef1e6d46b2)
1BEGIN {
2	str = "type=\"directory\" version=\"1.0\""
3	#print "BEGIN:", str
4
5	while (str) {
6		sub(/^[^=]*/, "", str);
7		s = substr(str, 2)
8		print s
9		sub(/^="[^"]*"/, "", str)
10		sub(/^[ \t]*/, "", str)
11	}
12}
13