I think xapply (man) is an awesome tool but compiling it
takes a bit of effort because the code is using some custom .m
files that are
expandad to a bunch of source files using a tool called explode
(man). Building also relies on some other custom tools like
mk and mkcmd.
This repository contains the resulting C source files for xapply and two
companion programs, xclate (man) and ptbw
(man), together with BUILD
files that makes building using
bazel easier.
How to build the binaries:
bazel build -c opt xapply xclate ptbw
How to copy the binary to a destination (for example ~/local/bin/
):
cp bazel-bin/{xapply/xapply,xclate/xclate,ptbw/ptbw} ~/local/bin/
The homepage of the tool is here: https://www.databits.net/~ksb/.
Many thanks to ksb (Kevin S Braunsdorf) for this tool.