github.com/rogpeppe/go-internal@v1.12.1-0.20240509064211-c8567cf8e95f/cmd/txtar-x/testdata/extract-dir.txt (about)

     1  unquote file.txtar
     2  txtar-x -C x/y file.txtar
     3  cmp x/y/foo expect/foo
     4  cmp x/y/a/b/bar expect/a/b/bar
     5  
     6  -- file.txtar --
     7  >some comment
     8  >
     9  >-- foo --
    10  >foo
    11  >-- a/b/bar --
    12  >bar
    13  -- expect/foo --
    14  foo
    15  -- expect/a/b/bar --
    16  bar