Documentation
¶
Overview ¶
Package mapfile implements the `mapfile` / `readarray` shell built-ins. Reads stdin line-by-line into an "array" represented as c.Env entries `<NAME>_<INDEX>`. The runner-side array semantics are not propagated (mvdan/sh's native mapfile does that); /bin/mapfile and /bin/readarray here are best-effort.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewReadarray ¶
NewReadarray returns the readarray command (alias for mapfile).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.