mirror of
https://github.com/topjohnwu/ndk-busybox.git
synced 2024-11-24 20:29:55 +00:00
Small fix for sed 'y' command
This commit is contained in:
parent
f01b46d7dd
commit
30b47df86b
@ -343,7 +343,7 @@ static int parse_translate_cmd(sed_cmd_t * const sed_cmd, const char *cmdstr)
|
||||
sed_cmd->translate[i * 2] = match[i];
|
||||
sed_cmd->translate[(i * 2) + 1] = replace[i];
|
||||
}
|
||||
return(idx);
|
||||
return(idx + 1);
|
||||
}
|
||||
|
||||
static int parse_edit_cmd(sed_cmd_t *sed_cmd, const char *editstr)
|
||||
|
Loading…
Reference in New Issue
Block a user