From 18de2b7b5b1b063e7a074878b4e3b3ccdd5c6ebc Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 19 Nov 2020 18:30:11 +0300 Subject: Allow multiple -e options for sed builtin --- libbutl/builtin.cxx | 128 +++++++++++++++++++++++++++---------------- tests/builtin/sed.testscript | 55 +++++++++++++------ 2 files changed, 120 insertions(+), 63 deletions(-) diff --git a/libbutl/builtin.cxx b/libbutl/builtin.cxx index 7a2c024..5c1c875 100644 --- a/libbutl/builtin.cxx +++ b/libbutl/builtin.cxx @@ -1569,7 +1569,7 @@ namespace butl return 1; } - // sed [-n|--quiet] [-i|--in-place] -e|--expression