static L psGetCommands(S psOutput) { L lines = toLines(psOutput); S header = lines.get(0); L body = dropFirst(lines); final int idx = header.indexOf("CMD"); ret map(func(S s) { substring(s, idx).trim() }, body); }