/cugo

POSIX core utilities written in Go

Primary LanguageGoISC LicenseISC

cugo implements Unix/Linux core utilities as a multi-call binary. Each utility is written from scratch using the reference manuals and the Go standard library. Use of external modules is intentionally rare and currently consists of the following:

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.

Usage

Building from source

$ git clone git@github.com:jcmdln/cugo.git
$ cd ./cugo
$ go build

Installing as a Go module

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