5de9c9864d09cac2c85b2a8c9d7537b14ddb9f3e
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
patchdiff,cmp,diff3,sdiffwhichgzip,gunzip,zcat,gzcat,uncompressgrep,egrep,fgrep,rgrepfindxargslspci,setpcidepmod
Build
VX uses Meson.
meson setup builddir
meson compile -C builddir
meson test -C builddir
To build only selected utilities:
meson setup builddir -Dutils=grep,find,xargs
The default is -Dutils=all.
Run
You can invoke applets either through the multicall binary:
./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.hto provide Linux compatibility shims for BSD userland code. - Some behavior is intentionally BSD-flavored, even where GNU tools differ.
Languages
C
68.7%
Roff
14.4%
Shell
9%
C++
4.3%
Yacc
2.5%
Other
1.1%