The core utility set for FENIX; mostly POSIX utilities here
Go to file
Gitea bfb3a7da94 maybe full version? 2020-12-11 00:56:22 -06:00
Test files Added test files 2020-12-01 20:34:44 -06:00
bc maybe full version? 2020-12-11 00:56:22 -06:00
LICENSE Brought back tentative CWPL v2 2020-12-01 20:33:50 -06:00
README Brought back readme 2020-12-01 20:34:17 -06:00
TODO Minor alignment fixes 2020-12-10 21:05:11 -06:00
asa.1 Added man pages 2020-12-01 20:31:04 -06:00
asa.c Initial version of utils up to 2020-02-11 2020-02-11 23:30:50 -06:00
basename.1 Added man pages 2020-12-01 20:31:04 -06:00
basename.c Readded some POSIX utils I'd written prior 2020-12-01 20:31:58 -06:00
cal.c It kinda works right now 2020-12-01 20:32:13 -06:00
cat.1 Added man pages 2020-12-01 20:31:04 -06:00
cat.c Added -u option 2020-12-01 20:32:26 -06:00
cksum.1 Added man pages 2020-12-01 20:31:04 -06:00
cksum.c Replaced single line comment w/ block 2020-12-01 20:32:46 -06:00
cmp.1 Added man pages 2020-12-01 20:31:04 -06:00
cmp.c Initial version of utils up to 2020-02-11 2020-02-11 23:30:50 -06:00
dc.c Initial version of utils up to 2020-02-11 2020-02-11 23:30:50 -06:00
dirname.1 Added man pages 2020-12-01 20:31:04 -06:00
dirname.c Readded some POSIX utils I'd written prior 2020-12-01 20:31:58 -06:00
echo.1 Added man pages 2020-12-01 20:31:04 -06:00
echo.c Initial version of utils up to 2020-02-11 2020-02-11 23:30:50 -06:00
expand.1 Added man pages 2020-12-01 20:31:04 -06:00
expand.c Initial version of utils up to 2020-02-11 2020-02-11 23:30:50 -06:00
false.1 Added man pages 2020-12-01 20:31:04 -06:00
false.c Readded some POSIX utils I'd written prior 2020-12-01 20:31:58 -06:00
fenver.c Initial version of utils up to 2020-02-11 2020-02-11 23:30:50 -06:00
head.1 Added man pages 2020-12-01 20:31:04 -06:00
head.c Initial version of utils up to 2020-02-11 2020-02-11 23:30:50 -06:00
link.1 Added man pages 2020-12-01 20:31:04 -06:00
link.c Readded some POSIX utils I'd written prior 2020-12-01 20:31:58 -06:00
ln.1 Added man pages 2020-12-01 20:31:04 -06:00
ln.c Initial version of utils up to 2020-02-11 2020-02-11 23:30:50 -06:00
makefile Brought back makefile 2020-12-01 20:34:05 -06:00
pwd.1 Added man pages 2020-12-01 20:31:04 -06:00
pwd.c Initial version of utils up to 2020-02-11 2020-02-11 23:30:50 -06:00
sh.c Fix for GNU project, replace Single Line Comments 2020-12-01 20:33:33 -06:00
true.1 Added man pages 2020-12-01 20:31:04 -06:00
true.c Readded some POSIX utils I'd written prior 2020-12-01 20:31:58 -06:00
tty.1 Added man pages 2020-12-01 20:31:04 -06:00
tty.c Initial version of utils up to 2020-02-11 2020-02-11 23:30:50 -06:00
wc.1 Added man pages 2020-12-01 20:31:04 -06:00
wc.c Initial version of utils up to 2020-02-11 2020-02-11 23:30:50 -06:00

README

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
pwd
true

The following sh built-ins are completed, working, and POSIX-compliant:

cd

The following tools are completed and working, though not necessarily
POSIX-compliant:

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.