Lines Matching refs:g
35 g=$tmp/here2
42 cat > $g <<\!
45 cmp $f $g 2> /dev/null || err_exit "'hello world' quoted here doc not working"
46 cat > $g <<- !
49 cmp $f $g 2> /dev/null || err_exit "'hello world' tabbed here doc not working"
50 cat > $g <<- \!
53 cmp $f $g 2> /dev/null || err_exit "'hello world' quoted tabbed here doc not working"
55 cat > $g <<!
58 cmp $f $g 2> /dev/null || err_exit "'$x world' here doc not working"
59 cat > $g <<!
62 cmp $f $g 2> /dev/null || err_exit "'$(print hello) world' here doc not working"
72 cmp $f $g 2> /dev/null || err_exit "unquoted here doc not working"
84 cat >$g << :
87 cmp /dev/null $g 2> /dev/null || err_exit "empty here doc not working"