aboutsummaryrefslogtreecommitdiff
path: root/bin/sed
diff options
context:
space:
mode:
Diffstat (limited to 'bin/sed')
-rwxr-xr-xbin/sed6
1 files changed, 2 insertions, 4 deletions
diff --git a/bin/sed b/bin/sed
index 2200bd1..352a3ca 100755
--- a/bin/sed
+++ b/bin/sed
@@ -47,12 +47,10 @@ while getopts ne:f:$getopt_os opt; do
save "$OPTARG"
;;
i)
- save "$inplace_arg"
- continue
+ saved="$saved $inplace_arg"
;;
r)
- save "$extended_re_arg"
- continue
+ saved="$saved $extended_re_arg"
;;
\?)
exit 1