...

Text file src/github.com/rogpeppe/go-internal/testscript/testdata/stdin.txt

Documentation: github.com/rogpeppe/go-internal/testscript/testdata

     1[!exec:cat] skip
     2
     3stdin hello.txt
     4exec cat
     5stdout hello
     6exec cat
     7! stdout hello
     8
     9
    10[!exec:cat] stop
    11
    12# Check that 'stdin stdout' works.
    13exec cat hello.txt
    14stdin stdout
    15exec cat
    16stdout hello
    17
    18-- hello.txt --
    19hello
    20

View as plain text