diff options
| author | root <[email protected]> | 2024-08-21 02:20:04 +0000 |
|---|---|---|
| committer | root <[email protected]> | 2024-08-21 02:20:04 +0000 |
| commit | b634070092bb161b4ee672c2bf214d25ef9bc322 (patch) | |
| tree | bc2b64b4721555cc85ba3c1b817fa138c1884dea /src | |
| parent | d16a5d3b92eaacd4b5528b733eff3877ea393e8f (diff) | |
remove escape of \b
Diffstat (limited to 'src')
| -rw-r--r-- | src/maat_utils.c | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/src/maat_utils.c b/src/maat_utils.c index cdc31e3..e3aca86 100644 --- a/src/maat_utils.c +++ b/src/maat_utils.c @@ -213,8 +213,20 @@ char *str_unescape(char *s) case '&': s[j] = '&'; break; - case 'b': - s[j] = ' ';//space,0x20; + case '^': + s[j] = '^'; + break; + case '$': + s[j] = '$'; + break; + case '|': + s[j] = '|'; + break; + case '(': + s[j] = '('; + break; + case ')': + s[j] = ')'; break; case '\\': s[j] = '\\'; |
