From d35c0efddbb7602512f439f74f0e984331740464 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Fri, 8 Sep 2006 00:01:02 +0000 Subject: [PATCH] Bugfix for: echo '123456789' | sed 's/./|&/5' --- editors/sed.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editors/sed.c b/editors/sed.c index 40eef80bc..9f3af33ed 100644 --- a/editors/sed.c +++ b/editors/sed.c @@ -627,7 +627,7 @@ static int do_subst_command(sed_cmd_t *sed_cmd, char **line) end of match and continue */ if(sed_cmd->which_match && sed_cmd->which_match!=match_count) { for(i=0;i