Merge pull request #20 from stikonas/coreutils

More coreutils
This commit is contained in:
fosslinux 2021-01-23 11:10:06 +11:00 committed by GitHub
commit 57930c2a11
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 5 deletions

View file

@ -237,14 +237,14 @@ preferred where we can use it, and makes source code sizes smaller.
#### Part 15: coreutils 5.0.0
Coreutils is a collection on widely used utilities such as cat, chmod, chown,
cp, install, ln, mkdir, mv, rm, rmdir, tee, and many others.
GNU Coreutils is a collection of widely used utilities such as `cat`, `chmod`, `chown`,
`cp`, `install`, `ln`, `mkdir`, `mknod`, `mv`, `rm`, `rmdir`, `tee`, `test`, `true`, and many others.
A few of the utilities cannot be easily compiled with Mes C library, so we skip them.
#### Part 16: grep 2.4
grep is a pattern matching utility. Is is not immediately needed but will
GNU `grep` is a pattern matching utility. Is is not immediately needed but will
be useful later for autotools.
#### Part 17: bash 2.05b

View file

@ -61,13 +61,15 @@ CFLAGS = -I . -I lib \
-DHAVE_GETCWD=1 \
-Dmy_strftime=nstrftime \
-DDIR_TO_FD\(Dir_p\)=-1 \
-DUTILS_OPEN_MAX=1000
-DUTILS_OPEN_MAX=1000 \
-Dmajor_t=unsigned \
-Dminor_t=unsigned
.PHONY: all install
SRC_DIR=src
COREUTILS = basename cat chmod cksum csplit cut echo expand factor false fmt fold head id join kill link ln logname mkfifo mkdir nl od paste pathchk printf ptx pwd readlink rmdir seq split sum tail tee touch tr tsort unexpand unlink wc whoami
COREUTILS = basename cat chmod cksum csplit cut echo expand factor false fmt fold head id join kill link ln logname mkfifo mkdir mknod nl od paste pathchk printf ptx pwd readlink rmdir seq split sum tail tee touch tr tsort unexpand unlink wc whoami test true
BINARIES = $(addprefix $(SRC_DIR)/, $(COREUTILS))