std/shell/coreutil

Functions

grep

pub pure fn grep(plan: shell.Plan, pattern: String) -> shell.Plan

Appends a grep stage that keeps the lines matching the regular expression pattern (plan |> coreutil.grep("^a")).