~vcs-imports/gawk/master

« back to all changes in this revision

Viewing changes to test/clos1way3.awk

Update README.solaris.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
BEGIN {
2
 
        # We use "&&" and not ";" so it works with Windows shells as well.
3
 
        cmd = "cat - 1>&2 && sleep 2"
4
 
        print "test1" |& cmd
5
 
        close(cmd, "to")
6
 
        print "test2" |& cmd
7
 
        print ERRNO
8
 
}