Skip to content
@goshutils

Go Shell Utilities

Native Go implementations of as many standard utilities as possible

Go Shell Utilities

Native Go implementations of as many standard utilities as possible.

The goal of this project is to implement standard POSIX shell utilities in pure Go. Ideally without relying too heavily on external libraries. POSIX is in no way perfect, but neither is a world where typing make install does something completely different on a user's machine as what you expected when you wrote the makefile. My hope is that by implementing the tools that I rely on, I can gain a better understanding of how to use them. And I hope that these alternative implementations will be of use to somebody, if not for practical use, then at least as an academic exercise.

Contribution

If you'd like to contribute, please open a PR. Be sure to explain what your proposed changes do. If you're unsure about something, or don't know how to make a change that you'd like to see, open an issue and I'll see what I can do 🙂

Please be sure to also read the CODE_OF_CONDUCT.md and CONTRIBUTING.md guidelines.

Resources

A good place to start is looking at the actual standard itself. It is full of technical documentation, which can be rather dense, so another good place to look is at a simple example such as the true utility.

Pinned

  1. true true Public

    The true utility shall return with exit code zero.

    Go

  2. false false Public

    The false utility shall return with a non-zero exit code.

    Go

Repositories

Showing 3 of 3 repositories
  • .github Public

    GitHub Profile

    0 Unlicense 0 0 0 Updated Nov 30, 2022
  • false Public

    The false utility shall return with a non-zero exit code.

    Go 0 Unlicense 0 0 0 Updated Nov 28, 2022
  • true Public

    The true utility shall return with exit code zero.

    Go 0 Unlicense 0 0 0 Updated Nov 28, 2022

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…