Repository navigation
vlsh 1.2.1 fixes interactive backslash continuations and includes the shell, POSIX compatibility, installation, and packaging improvements since v1.2.
POSIX compatibility
- Recognize inline comments and multiline command lists. Apply
IFSto
unquoted expansion results before pathname expansion. - Keep ordinary assignments local until exported, and support script and
-c
positional arguments,set --, andshift. - Apply redirections in order for builtins and external commands. Isolate core
builtins and expansion side effects inside pipelines. - Return 127 for missing commands and 126 for commands found but not executable.
Shell stability
- Continue interactive commands after a trailing backslash, including pasted
multiline commands; recall and save the joined command as one history entry. - Run pipeline stages concurrently with OS pipes; preserve empty input, stderr,
final-stage exit status, and signal handling without buffering between stages. - Parse command words once, retaining quoted operators, empty arguments, escapes,
and literal single-quoted text. Reject incomplete command lists before dispatch. - Restore temporary environment overrides, retain assignment-only commands, bound
alias recursion, and resolve executable files rather than directories. - Add
-c, script-file and stdin execution, plus--helpand--version. - Fix missing-argument crashes in
ocp, builtin error statuses, and compiler
compatibility in readline, signal handling, and plugin JSON decoding.
Installation and packaging
- Fix DragonFly cross-compilation with V 0.5.2, including stdio declarations,
sysroot library symlinks, and linker search paths. - Install the already-built binary without requiring V in sudo's PATH; register
the configured path in/etc/shellsonce. Staging skips registration. - Honor selected distribution formats,
DIST_FLAGS, and compiler overrides;
preserve only matching artifacts without renaming existing archives again. - Use portable RPM directory creation and private, cleaned staging directories;
normalize Debian package directory permissions.
Tests and documentation
- Add shell, installation, and packaging integration suites to
make test, with
isolated fixtures and subprocess timeouts. Add Linux CI using V 0.5.2. - Document tested behavior, package/source differences, known POSIX gaps, and
outstanding native BSD and mux validation. Move platform notes underdocs/.
Downloads and validation
- Linux x86-64: Debian package, RPM package, and standalone binary.
- FreeBSD and DragonFly x86-64: cross-compiled standalone binaries; native BSD runtime validation remains outstanding.
SHA256SUMScontains SHA-256 checksums for all downloadable binaries and packages.- Built with V 0.5.2. The full unit, installation, packaging, and 49 shell integration tests pass, including the interactive pasted
findregression.
For example, this command now waits for its continuation line at the interactive prompt:
find "$HOME" -maxdepth 6 -type d \
\( -iname '*warcraft*' -o -iname '*forever*' \) 2>/dev/nullContinued commands are joined before execution and saved as one history entry. Ctrl+C cancels the whole pending command.