Git Product home page Git Product logo

coreutils-cpp's Introduction

Coreutils-CPP - A modern C++ interpretation of the GNU coreutils library

These are some of the GNU core utilities migrated to C++ code through a complete rewrite using modern C++ conventions and techniques. This package is the union of the GNU fileutils, sh-utils, and textutils packages.

Most of these programs lack significant advantages over their Unix and GNU counterparts, such as greater speed, additional options, and fewer arbitrary limits. The only advantage is the implementations are developed using modern C++.

Important: 2020-04-28 Current library build is only a skeleton build. The docopt usage strings are built for most programs (not in future). You can fork the project if you want to finish implementations. PR's are welcome.

The programs that can be built with this package are:

b2sum echo touch basename basenc cat chcon chgrp chmod chown chroot cksum comm coreutils cp csplit cut date dd df dircolors dirname du env expand expr factor false fmt fold groups head hostid hostname id install join kill link ln logname ls md5sum mkdir mkfifo mknod mktemp mv nice nl nohup nproc numfmt od paste pathchk pinky pr printenv printf ptx pwd readlink realpath rm rmdir runcon seq shred shuf sleep sort split stat stdbuf stty sum sync tac tail tee test timeout tr true truncate tsort tty uname unexpand uniq unlink uptime users wc who whoami yes

Future:

arch base32 base64 dir sha1sum sha224sum sha256sum sha384sum sha512sum vdir

Unlike the rest of the GNU system, these programs do not conform to POSIX, with BSD and other extensions. For closer conformance, choose another library.

This library is a toy library to explore the issues of migrating system tools programmed in C to modern C++. Use at your own risk.

LICENSE: Same as original GNU coreutils, GPL v1.3.

C++ migrated implementation code (c) Todd Saharchuk, 2020.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation. A copy of the license is included in the "GNU Free Documentation License" file as part of this distribution.

coreutils-cpp's People

Contributors

northerntechie avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.