sbase

suckless unix tools
git clone git://git.suckless.org/sbase
Log | Files | Refs | README | LICENSE

commit 7a83a5355444e5e444c23ddaea2ff6aed5e52923
parent d77328ca4d1a7aab1905a85faea8bacdcb0cb293
Author: Roberto E. Vargas Caballero <k0ga@shike2.net>
Date:   Thu, 13 Nov 2025 12:44:25 +0100

sbase-box: Don't show xinstall in the usage

Diffstat:
MTODO | 5-----
Mscripts/mkbox | 5+++--
2 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/TODO b/TODO @@ -82,11 +82,6 @@ tr * When a character class is present, all other characters in the string are ignored. -sbase-box ---------- -* List of commands does not contain `install` (only `xinstall`). - - xargs ----- * Add -L. diff --git a/scripts/mkbox b/scripts/mkbox @@ -23,7 +23,6 @@ struct cmd { char *name; int (*fn)(int, char **); } cmds[] = { - {"install", xinstall_main}, {"[", test_main}, $(grep -l ^main *.c | while read f @@ -33,7 +32,9 @@ do s/main/'${f%.c}'_main/ s/-/_/g w build/'$f' - s/\(^.*\)(.*)/ {"'${f%.c}'", \1},/p + s/\(^.*\)(.*)/ {"'${f%.c}'", \1},/ + s/xinstall/install/ + p d } w 'build/$f $f