Giter Site home page Giter Site logo

cugo's Introduction

Homepage | GitHub

cugo is a prototypical project to implement Unix/Linux core utilities in the form of a multi-call binary, primarily using the Go standard library. Each utility is written from scratch using only the reference manuals for the target utility and the Go standard library. Third-party code use by cugo is intentionally rare, currently relying on the following:

  • hlfstr/flagger for the optional command line interface that resides within the cmd folder.
  • x/sys for various system calls.

About

Please visit godoc for the latest documentation, or the doc.go files within most directories.

  • See cmd/README for information on the command line interface provided by cugo.
  • See src/README for information on how to import a single utility.
  • See lib/README for information on the libraries written for cugo.

Usage

This repository may have a somewhat odd structure, though it has made the process of building cugo or importing an individual utility into external projects trivial. No Makefile's or other tools needed.

Building

$ git clone [email protected]:jcmdln/cugo.git
$ cd ./cugo
$ go run cugo.go
# OR 
$ go build

Installing

$ go get -u github.com/jcmdln/cugo

Importing

If you want an example of importing a single utility into another project, please see cugo-mkdir-example which implements mkdir using Go's flag package.

Contributing

If you would like to contribute a utility, improve documentation, or write tests please see the CONTRIBUTING file for more information.

cugo's People

Contributors

djhert avatar jcmdln avatar therealfakemoot 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.