xref: /illumos-gate/usr/src/test/util-tests/tests/awk/gnu/getline3.awk (revision 3665ce8aeee26b1a84fb98951ef011e0779e1ae2)
1BEGIN {
2	cmd = "echo 3"
3	y = 7
4	cmd | getline x y
5	close(cmd)
6	print (cmd | getline x y)
7}
8