GithubHelp home page GithubHelp logo

jgarzik / posixutils Goto Github PK

View Code? Open in Web Editor NEW
10.0 3.0 4.0 799 KB

POSIX command line utilities, from scratch

License: GNU General Public License v3.0

C 4.13% Shell 3.30% Perl 0.21% C++ 34.86% Yacc 0.22% Python 0.24% Makefile 0.27% Roff 41.27% M4 15.45% sed 0.04%
posix posix-compliant unix-command utilities c-plus-plus

posixutils's Introduction

POSIXUTILS

The posixutils package is a collection of the utilities specified in the Single Unix Specification v3 (SuSv3).

Mission

This project asks the question:

What happens when the familiar shell utilities -- cp, rm, mv, etc. -- are written in modern C++, with full access to the C++11 compiler and library?

Resources

posixutils home page (untouched for years): http://sourceforge.net/projects/nix-utils/

posixutils source code repository, git protocol: https://github.com/jgarzik/posixutils.git

Specifications

The SuSv3 specification is available online at http://www.opengroup.org/onlinepubs/009695399/toc.htm

and the full list of all utilities we plan to implement is at http://www.opengroup.org/onlinepubs/009695399/idx/utilities.html

Project goals/manifesto

  • Using the full power of C++11 compiler and standard library, including templates, threads, atomics and more.

  • race-free userland (as near as possible given the POSIX file interface and the kernel, anyway)

  • clean, maintainable codebase targetted at >=32-bit machines. avoid #ifdefs. When a utility is not often used, such as compress(1), readability, and maintainability are considered more important than performance.

  • correctness is always more important than performance.

  • stay as close to the SuSv3 specification as possible. avoid frivolous feature addition, with two exceptions: a) common legacy features b) popular GNU utils features

  • Initial OS target is Linux, and use of Linux-specific features is encouraged. On the other hand, porting to another OS is also encouraged.

posixutils's People

Contributors

jgarzik avatar theuni avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

posixutils's Issues

Implement file category

Implement file category

  • cat
  • cksum
  • cmp
  • cp
  • dd
  • file
  • find
  • grep
  • head
  • link
  • ln
  • ls
  • mkdir
  • mkfifo
  • mv
  • rm
  • rmdir
  • tail
  • tee
  • unlink
  • wc

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.