Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.51 KB

File metadata and controls

33 lines (24 loc) · 1.51 KB

Overview

This project is a C++ implementation of classic UNIX utilities, designed to adhere strictly to the POSIX standard. Each utility aims to behave as closely as possible to its traditional counterpart, ensuring compatibility, predictability, and portability across UNIX-like systems.

C++CMakePOSIXLicenseVersion

Note

The full list of POSIX utilities can be found here

Features

  • Implementations of core utilities such as cat, cp, mv, rm, ls, and more.

  • Strict adherence to POSIX return codes and error handling practices.

  • Minimal external dependencies: only the C++ standard library & POSIX standard library.

  • Easy to build and extend.

Build Instructions

Important

Requirements: CMake 3.10+, a C++20-compliant compiler (e.g., GCC 10+, Clang 9+).

git clone https://github.com/Netris89/core-utils --recurse-submodules
cd core-utils
mkdir build
cd build
cmake ..
cmake --build .

Tip

All executables will be generated inside build/bin/. For example, you can run ./build/bin/echo to use the echo utility.