Jul. 1st, 2019

I've put together a list of alternative utilities. I've tried to find alternatives that are lightweight or offered under interesting license options. For a list of core utility alternatives see my core utilities post ( https://lmemsm.dreamwidth.org/3000.html ). I'll also be putting together a list of utilities and tools used for building software from source. If you know of some interesting utilities I've overlooked or forgotten to mention, please let me know about them:
https://groups.yahoo.com/neo/groups/CppDesign/

Archiving utilities:

bsdtar, bsdcpio
http://www.libarchive.org/
Alternative to GNU tar and cpio.

xz embedded
https://tukaani.org/xz/embedded.html

miniz
https://github.com/richgel999/miniz

minicpio
https://github.com/bavelee/minicpio

tiny 7z and SFX extractor
https://github.com/pts/pts-tiny-7z-sfx

Sed alternatives:

MiniSed
http://exactcode.com/opensource/minised/
Faster but limited earlier version of sed.
I use this with my LM BLD system ( http://www.distasis.com/cpp/lmbld.htm )
in place of sed on systems where sed isn't readily available.

Awk and awk alternatives:

awk
https://github.com/onetrueawk/awk

mawk
https://invisible-island.net/mawk/mawk.html

lok
https://github.com/dimkr/lok

Bison and yacc alternaties:

byacc (Berkeley yacc)
https://invisible-island.net/byacc/

Filters:

less
http://www.greenwoodsoftware.com/less/
less is more than more.

lesspipe
https://www-zeuthen.desy.de/~friebel/unix/lesspipe.html

pdftxt
https://litcave.rudi.ir/
PDF to text conversion utility that uses libmupdf.
I have a version of pdftxt that's been patched to work with various versions of mupdf including the last GNU GPLv3 version available. Will upload the patches to my site when I have time:
http://www.distasis.com/cpp/lmports.htm

man
https://github.com/jbruchon/elks/blob/1b6110b73fbb123021a5a29b05d8fa9caef33235/elkscmd/sys_utils/man.c
I use this program to view man pages.

Alternatives from PicoBSD:

msh, ps alternatives
https://github.com/freebsd/freebsd/tree/master/release/picobsd/tinyware
I've been working with the msh code to create a simple shell program. I'm adding minimal UTF-8 support and simplifying it to use spawn instead of fork so it will work on non-POSIX systems as well.

BSD versions of other tools include:

patch
https://github.com/openbsd/src/tree/master/usr.bin/patch
I have a fork of this that works on Windows and other platforms.

bsdgzip
ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-current/src/usr.bin/gzip/
I have a fork of this with a few other features added. Works on Windows and other platforms.

bsdgettext
https://www.mmnt.net/db/0/18/ftp.khstu.ru/pub/unix/distfiles
I have a forked version that works on Windows and other platforms. Working on porting to Android as well.
Check out the BSD Citrus Project for other gettext/libintl alternatives.

Miscellaneous:

install
https://busybox.net/
https://github.com/ppentchev/install-mimic
https://www.minix-vmd.org/cgi-bin/raw/source/std/1.7.5/src/commands/simple/
https://github.com/jbruchon/elks/blob/master/elkscmd/minix2/install.c
https://git.suckless.org/sbase/file/xinstall.c.html
https://github.com/dcantrell/bsdutils/tree/master/src/xinstall
https://github.com/edtrash00/utilchest/blob/master/src/install.c
https://github.com/minoca/swiss/blob/master/src/install.c
Still trying to find an alternative to GNU install that I like, but there are other options. If you know of more alternatives, please add your suggestions.

July 2025

S M T W T F S
  12345
67891011 12
13141516171819
20212223242526
2728293031  

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Aug. 29th, 2025 09:15 am
Powered by Dreamwidth Studios