The core utility set for FENIX; mostly POSIX utilities here
Find a file
2020-12-13 14:15:04 -06:00
bc maybe full version? 2020-12-11 00:56:22 -06:00
Test files Added test files 2020-12-01 20:34:44 -06:00
asa.1 Added man pages 2020-12-01 20:31:04 -06:00
asa.c some formatting changes 2020-12-13 09:17:40 -06:00
basename.1 Added man pages 2020-12-01 20:31:04 -06:00
basename.c Properly set stuff up (defined _POSIX_C_SOURCE) 2020-12-12 00:33:20 -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 formatting changes, using getopt() now 2020-12-13 09:25:50 -06:00
chgrp.c a somewhat vague outline 2020-12-12 10:31:21 -06:00
cksum.1 Added man pages 2020-12-01 20:31:04 -06:00
cksum.c slight cleanup 2020-12-13 09:26:49 -06:00
cmp.1 Added exit status; updated copyright 2020-12-13 09:37:24 -06:00
cmp.c Moved to getopt() 2020-12-13 09:37:32 -06:00
dirname.1 Added man pages 2020-12-01 20:31:04 -06:00
dirname.c Properly set stuff up (defined _POSIX_C_SOURCE) 2020-12-12 00:33:20 -06:00
echo.1 Added man pages 2020-12-01 20:31:04 -06:00
echo.c Properly set stuff up (defined _POSIX_C_SOURCE) 2020-12-12 00:33:20 -06:00
expand.1 Added man pages 2020-12-01 20:31:04 -06:00
expand.c Properly set stuff up (defined _POSIX_C_SOURCE) 2020-12-12 00:33:20 -06:00
false.1 Added man pages 2020-12-01 20:31:04 -06:00
false.c Properly set stuff up (defined _POSIX_C_SOURCE) 2020-12-12 00:33:20 -06:00
head.1 Added man pages 2020-12-01 20:31:04 -06:00
head.c Use getopt, replace stoi_mini with atoi 2020-12-13 10:09:04 -06:00
LICENSE Brought back tentative CWPL v2 2020-12-01 20:33:50 -06:00
link.1 Added man pages 2020-12-01 20:31:04 -06:00
link.c Properly set stuff up (defined _POSIX_C_SOURCE) 2020-12-12 00:33:20 -06:00
ln.1 Added man pages 2020-12-01 20:31:04 -06:00
ln.c Properly set stuff up (defined _POSIX_C_SOURCE) 2020-12-12 00:33:20 -06:00
logname.1 added package 2020-12-11 04:55:45 -06:00
logname.c Properly set stuff up (defined _POSIX_C_SOURCE) 2020-12-12 00:33:20 -06:00
makefile removed -D_XOPEN... and added new utils 2020-12-12 00:33:37 -06:00
mkfifo.1 wrote the man page 2020-12-13 01:15:48 -06:00
mkfifo.c It kinda works? mode needs fix? 2020-12-12 13:33:43 -06:00
pwd.1 Added man pages 2020-12-01 20:31:04 -06:00
pwd.c Using getopt 2020-12-13 10:22:44 -06:00
README Add mkfifo stuff 2020-12-12 13:35:50 -06:00
sh.c Some minor tweaks 2020-12-13 14:15:04 -06:00
sleep.1 Added package 2020-12-11 04:52:22 -06:00
sleep.c Properly set stuff up (defined _POSIX_C_SOURCE) 2020-12-12 00:33:20 -06:00
tee.1 Added exit values 2020-12-11 07:28:34 -06:00
tee.c Properly set stuff up (defined _POSIX_C_SOURCE) 2020-12-12 00:33:20 -06:00
TODO Figured out the problem with mkfifo 2020-12-13 00:52:43 -06:00
true.1 Added man pages 2020-12-01 20:31:04 -06:00
true.c Properly set stuff up (defined _POSIX_C_SOURCE) 2020-12-12 00:33:20 -06:00
tty.1 Added man pages 2020-12-01 20:31:04 -06:00
tty.c Properly set stuff up (defined _POSIX_C_SOURCE) 2020-12-12 00:33:20 -06:00
uname.1 Wrote the manual 2020-12-11 07:28:40 -06:00
uname.c Properly set stuff up (defined _POSIX_C_SOURCE) 2020-12-12 00:33:20 -06:00
wc.1 Added man pages 2020-12-01 20:31:04 -06:00
wc.c Properly set stuff up (defined _POSIX_C_SOURCE) 2020-12-12 00:33:20 -06:00

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
mkfifo
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.

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.