github.com/rogpeppe/go-internal@v1.12.1-0.20240509064211-c8567cf8e95f/testscript/testdata/cpstdout.txt (about)

     1  [!exec:cat] stop
     2  
     3  # hello world
     4  exec cat hello.text
     5  cp stdout got
     6  cmp got hello.text
     7  ! cmp got different.text
     8  
     9  exists got
    10  mv got new
    11  ! exists got
    12  cmp new hello.text
    13  
    14  -- hello.text --
    15  hello world
    16  -- different.text --
    17  goodbye