68 lines
No EOL
1.6 KiB
Text
Executable file
68 lines
No EOL
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
|
|
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
|
|
sh
|
|
wc
|
|
|
|
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.
|
|
|
|
Note that tty requires you to add the flag `-D_XOPEN_SOURCE=700`
|
|
(*Is this another GNU thing? Gods, it'd better not be...)
|
|
|
|
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. |