Return to cmd.c CVS log | Up to [local] / src / usr.bin / tmux |
version 1.155, 2019/10/03 10:24:05 | version 1.156, 2020/01/04 18:01:56 | ||
---|---|---|---|
|
|
||
cmd_template_replace(const char *template, const char *s, int idx) | cmd_template_replace(const char *template, const char *s, int idx) | ||
{ | { | ||
char ch, *buf; | char ch, *buf; | ||
const char *ptr, *cp, quote[] = "\"\\$;"; | const char *ptr, *cp, quote[] = "\"\\$;~"; | ||
int replaced, quoted; | int replaced, quoted; | ||
size_t len; | size_t len; | ||