Files
vx/README.md
T
SFG545 bb503eec83 Implement minimal depmod-compatible applet for vx
- Added depmod.cpp to scan kernel module ELF files, read .modinfo, and emit metadata files.
- Implemented functionality to write binary trie indexes for libkmod/modprobe.
- Introduced command-line options for module processing.
- Created test script test_depmod.sh to verify help and version commands.
2026-07-08 22:08:15 -05:00

51 lines
1.0 KiB
Markdown

# VX
VX is a BSD-oriented multicall utility for Linux.
It bundles a growing set of FreeBSD-derived userland tools into a single `vx` binary, with applets selected by `argv[0]` or by subcommand.
## Included applets
- `patch`
- `diff`, `cmp`, `diff3`, `sdiff`
- `which`
- `gzip`, `gunzip`, `zcat`, `gzcat`, `uncompress`
- `grep`, `egrep`, `fgrep`, `rgrep`
- `find`
- `xargs`
- `lspci`, `setpci`
- `depmod`
## Build
VX uses Meson.
```text
meson setup builddir
meson compile -C builddir
meson test -C builddir
```
To build only selected utilities:
```text
meson setup builddir -Dutils=grep,find,xargs
```
The default is `-Dutils=all`.
## Run
You can invoke applets either through the multicall binary:
```text
./builddir/vx grep pattern file
./builddir/vx find . -name '*.c'
```
or via installed symlinks such as `grep`, `find`, or `patch`.
## Notes
- The project force-includes `src/compat-headers/compat.h` to provide Linux compatibility shims for BSD userland code.
- Some behavior is intentionally BSD-flavored, even where GNU tools differ.