Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/bitfield/script
/ ExamplePipe_ExecForEach
Function
ExamplePipe_ExecForEach
script_unix_test.go:218–224 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
216
}
217
218
func
ExamplePipe_ExecForEach() {
219
script.Echo(
"a\nb\nc\n"
).ExecForEach(
"echo {{.}}"
).Stdout()
220
// Output:
221
// a
222
// b
223
// c
224
}
Callers
nothing calls this directly
Calls
3
Echo
Function · 0.92
Stdout
Method · 0.80
ExecForEach
Method · 0.80
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…