~vcs-imports/gawk/master

« back to all changes in this revision

Viewing changes to test/status-close.awk

Update README.solaris.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
BEGIN {
2
 
    cat  = "cat ; exit 3"
3
 
    print system("echo xxx | (cat ; exit 4)")
4
 
 
5
 
    print "YYY" | cat
6
 
 
7
 
    print close(cat)
8
 
 
9
 
    echo = "echo boo ; exit 5"
10
 
    echo | getline boo
11
 
    print "got", boo
12
 
 
13
 
    print close(echo)
14
 
}