From aa66c30435ec9e76dad78b8b126ee51d00f4d429 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Fri, 21 Jun 2024 02:03:51 +0200 Subject: Formatting --- cbs.h | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/cbs.h b/cbs.h index e08034f..433c767 100644 --- a/cbs.h +++ b/cbs.h @@ -351,13 +351,15 @@ cmdwait(pid_t pid) return WIFEXITED(ws) ? WEXITSTATUS(ws) : 256; } -/* import shlex - - s = '#define _SHELL_SAFE "' - for c in map(chr, range(128)): - if not shlex._find_unsafe(c): - s += c - print(s + '"') */ +/* + * import shlex + * + * s = '#define _SHELL_SAFE "' + * for c in map(chr, range(128)): + * if not shlex._find_unsafe(c): + * s += c + * print(s + '"') + */ #define _SHELL_SAFE \ "%+,-./0123456789:=@ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz" -- cgit v1.2.3