# drosh **Repository Path**: opensourcejonah/drosh ## Basic Information - **Project Name**: drosh - **Description**: 卓识 - **Primary Language**: Unknown - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2024-03-28 - **Last Updated**: 2026-11-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # drosh Custom shell built from scratch (C++23 core + Rust builtin plugins), bash-compatible. ## Build Dependencies: g++ ≥ 11.4 (C++23), GNU make, Rust/cargo (plugins). Linux (WSL2 works); MSYS2 dual-build supported. ```sh make # core + Rust plugins + modtest fixture make asan # ASan+UBSan build → drosh-asan make deb # Debian/openKylin package → dist/ make install PREFIX=/opt/drosh/v1 # optional install ``` ## Usage ```sh drosh # interactive REPL (tty stdin) drosh script.sh [args...] # run script ($0 = path, $1.. = args) drosh -c 'cmd' [name [args]] # run command string (bash-compatible $0/$1..) echo 'echo hi' | drosh # read commands from stdin (POSIX sh semantics) drosh -e -u -x script.sh # startup flags, clusterable (-ex); also -n/-v/-f/-C/-a/-T/-E drosh -n script.sh # syntax check only (noexec) drosh --self-test # built-in self-tests (add < /dev/null for clean stdin) drosh --version # version + license drosh --help # usage drosh --mcp-stdio # MCP server (stdio transport) ``` ## License Copyright (C) 2026 opensourcejonah This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . The full license text is in [COPYING](COPYING). ## Version `x.y.a.b`(见 [core/version.hpp](core/version.hpp)):`x` 大版本 / `y` 迭代号 / `a` 子版本号(显著功能 +1)/ `b` 补丁号(YYYYMMDDNN 日期)。当前 `0.4.0.0` = 第 4 次迭代,主线 = 四个执行体(bash-function / procedure / sub / macro)。