()
| 2449 | } |
| 2450 | |
| 2451 | func ExamplePipe_HashSums() { |
| 2452 | script.ListFiles("testdata/multiple_files").HashSums(sha256.New()).Stdout() |
| 2453 | // Output: |
| 2454 | // e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 |
| 2455 | // e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 |
| 2456 | // e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 |
| 2457 | } |
| 2458 | |
| 2459 | func ExamplePipe_Join() { |
| 2460 | script.Echo("hello\nworld\n").Join().Stdout() |