JustBash.Commands.Sed.Executor (JustBash v0.4.0)
View SourceExecutor for SED commands.
Processes input content by applying SED commands to each line.
Summary
Functions
Process content by applying SED commands.
Types
@type line_state() :: %{ pattern_space: String.t(), deleted: boolean(), printed: boolean(), appended: String.t() | nil, inserted: String.t() | nil, changed: String.t() | nil, line_num: pos_integer(), total_lines: pos_integer() }
Functions
@spec execute(String.t(), [JustBash.Commands.Sed.Parser.sed_command()], boolean()) :: String.t()
Process content by applying SED commands.
Returns the transformed output string.