The core utility set for FENIX; mostly POSIX utilities here
Go to file
Kat R. 90cc2069bd A first attempt at nohup 2022-10-29 10:09:24 -05:00
Test files a good test file 2020-12-19 21:25:47 -06:00
bc maybe full version? 2020-12-11 00:56:22 -06:00
words Added contribution instructions 2020-12-30 19:37:36 -06:00
COPYING Updated some info files 2021-08-18 18:03:45 -05:00
README Updated some info files 2021-08-18 18:03:45 -05:00
TODO so, logger's done 2021-08-02 23:43:14 -05:00
asa.c Wow, documentation! 2022-10-06 02:12:56 -05:00
basename.c Wow, documentation! 2022-10-06 02:12:56 -05:00
cal.c It kinda works right now 2020-12-01 20:32:13 -06:00
cat.c Initialize some variables to sane defaults 2022-10-29 10:02:20 -05:00
chgrp.c a somewhat vague outline 2020-12-12 10:31:21 -06:00
cksum.c Wow, documentation! 2022-10-06 02:12:56 -05:00
cmp.c Moved to getopt() 2020-12-13 09:37:32 -06:00
dirname.c Wow, documentation! 2022-10-06 02:12:56 -05:00
echo.c Documentation! 2022-10-09 11:35:42 -05:00
expand.c I changed some indentation 2022-10-09 11:35:54 -05:00
false.c Properly set stuff up (defined _POSIX_C_SOURCE) 2020-12-12 00:33:20 -06:00
head.c Use getopt, replace stoi_mini with atoi 2020-12-13 10:09:04 -06:00
link.c Documentation! 2022-10-09 11:35:42 -05:00
ln.c Properly set stuff up (defined _POSIX_C_SOURCE) 2020-12-12 00:33:20 -06:00
logger.c IT SHOULD BE /var/log/messages! AH HA! 2021-08-02 23:41:16 -05:00
logname.c Documentation! 2022-10-09 11:35:42 -05:00
makefile so, logger's done 2021-08-02 23:43:14 -05:00
mkfifo.c It kinda works? mode needs fix? 2020-12-12 13:33:43 -06:00
nl.c started work 2020-12-19 21:25:41 -06:00
nohup.c A first attempt at nohup 2022-10-29 10:09:24 -05:00
pwd.c Documentation! 2022-10-09 11:46:07 -05:00
rmdir.c It work 2020-12-14 07:10:09 -06:00
sh.c Support $?, add -l for _kill 2020-12-24 17:31:19 -06:00
sleep.c Properly set stuff up (defined _POSIX_C_SOURCE) 2020-12-12 00:33:20 -06:00
tee.c Moved to using optind 2020-12-13 14:17:23 -06:00
true.c Properly set stuff up (defined _POSIX_C_SOURCE) 2020-12-12 00:33:20 -06:00
tty.c Documentation! 2022-10-09 11:41:27 -05:00
uname.c Documentation! 2022-10-09 11:41:27 -05:00
wc.c getopt update 2020-12-13 14:28:17 -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, assuming non-POSIX functionality is not required.

Currently, the following tools are completed, working, and POSIX-compliant:

asa
basename
cat
cksum
cmp
dirname
echo
false
head
link
ln
logger
logname
pwd
rmdir
true
uname

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