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