74 lines
1.6 KiB
Text
Executable file
74 lines
1.6 KiB
Text
Executable file
fenutils - Fenix Core Utilities
|
|
===============================
|
|
|
|
fenutils is a collection of utilities used in Fenix. Many of these utilities
|
|
are defined by POSIX and are portable across UNIX and UNIX-like systems. Many
|
|
are also capable of functioning as a drop-in replacement for the version that
|
|
may be found on such a system.
|
|
|
|
Currently, the following tools are completed, working, and POSIX-compliant:
|
|
|
|
asa
|
|
basename
|
|
cat
|
|
cksum
|
|
cmp
|
|
dirname
|
|
echo
|
|
false
|
|
head
|
|
link
|
|
ln
|
|
logname
|
|
pwd
|
|
rmdir
|
|
true
|
|
uname
|
|
|
|
The following sh built-ins are completed, working, and POSIX-compliant:
|
|
|
|
cd
|
|
|
|
The following tools are completed and working, though not necessarily
|
|
POSIX-compliant (a.k.a. I'm not confident about these):
|
|
|
|
tee
|
|
tty
|
|
|
|
The following tools are working, but not complete or POSIX-compliant:
|
|
|
|
cal
|
|
mkfifo
|
|
sh
|
|
wc
|
|
|
|
The following sh built-ins are working, but not complete or POSIX-compliant:
|
|
kill
|
|
umask
|
|
|
|
Building
|
|
--------
|
|
|
|
Currently, to build any given utility, simply compile it using your system's
|
|
C compiler. In general, this can be done with:
|
|
`cc -std=c99 <util>`
|
|
where <util> is the C file you wish to compile.
|
|
|
|
Alternatively, you can just run `make` to compile all currently finished
|
|
utilities.
|
|
|
|
Portability
|
|
-----------
|
|
|
|
Currently, fenutils is know to be working on Linux when compiled using GCC and
|
|
glibc and on FreeBSD when compiled using clang and <freebsd c lib>. Testing is
|
|
in progress for other OS/compiler combinations. If you have any success on other
|
|
UNIX{,-like} systems, let us know.
|
|
|
|
Copyright
|
|
---------
|
|
|
|
Licensed under CWPL v5 with CC-BY 4.0 by Katlynn Richey.
|
|
|
|
fenutils is free software. Feel free to modify and/or distribute it!
|
|
See the file COPYING for more details. |