OMKOV coreutils
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Jake Wakeling 2775afb5a1 Add early version of ls utility 1 day ago
build Add realpath utility and manpage 2 days ago
ext Update optget to version 0.5.1 3 days ago
man Add realpath utility and manpage 2 days ago
src Add early version of ls utility 1 day ago
.gitignore Add clangd compile_commands.json support 5 days ago
CMakeLists.txt Add early version of ls utility 1 day ago
LICENCE Implement POSIX cat 2 months ago
README.md Add realpath utility and manpage 2 days ago

README.md

OMKOV Core Utilities

OMKOV implementations of core software utilities

OMKOV Core Utilities (coreutils) implements many basic software utilities commonly found on UNIX-like systems.

Utilities

Utility Description Standard
basename Return non-directory portion of a path POSIX
cat Concatenate and print files POSIX
dirname Return the directory portion of a path POSIX
echo Write arguments to standard output POSIX
false Return false value POSIX
head Output the first part of files POSIX
id Return user identity POSIX
link Create a link to a file POSIX
logname Return the user's login name POSIX
mkdir Make directories POSIX
nice Execute with an altered nice value POSIX
od Dump files in various formats POSIX
pwd Print working directory POSIX
rand Generate random string
realpath Resolve an absolute pathname
rmdir Remove directories POSIX
sleep Suspend execution for an interval POSIX
sync Synchronise file system caches to disk
true Return true value POSIX
tty Return user's terminal name POSIX
uname Return system name POSIX
unlink Remove a file using the unlink function POSIX
yes Output a string repeatedly

Build Instructions

OMKOV coreutils uses CMake to build.
Binaries will be located in the bin directory.

Linux Build

Run CMAKE_UNIX.sh in the build directory, or

cd build
cmake ../
make

Windows Build

The ‘CMAKE_WIN32.bat’ and ‘CMAKE_WIN64.bat’ scripts in the ‘build’ directory can be used to build on Windows. Note that not all utilities are functional, and those that are, are not necessarily tested.

Meta

Copyright (C) 2020, Jakob Wakeling
All rights reserved.
OMKOV Permissive Licence