Methods

linesΒΆ

lines(p:Process)

Wait for the process and return lines of its stdout.
Source: stdlib.ngs:3442

Returns

Arr of Str

Example

$(seq 10 2 20).lines().map(Int)  # [10,12,14,16,18,20]