Git Product home page Git Product logo

toybox's Introduction

toybox

A minimalist toolbox. (Respect busybox)

currently, only suports linux.

Install

With Go Modules - Go 1.11 or higher

Recipe:

git clone https://github.com/shirou/toybox ;# clone outside of GOPATH
cd toybox
go install

Without Go Modules - Before Go 1.11

Recipe:

go get github.com/shirou/toybox

go get can also be used with Modules, but it will get you only an immutable copy of the source code.

Available commands

Status
Command Name Status Test Desc
arp completed no
base64 completed no
cat completed no
chgrp completed no
chmod completed no
chown completed no
cksum bug no
cmp completed no
cp completed no
cut not yet yes should arg parse manually (-f2 and so on)
date not yet yes + format is not implemented.
diff not yet yes diff algorithm is different from actual perhaps
du bug yes -s not work. size is incorrect(block size matter)
dirname completed yes
echo completed no
false completed yes
head completed yes
ls not yet no
ln completed no
mkdir completed no
mv completed no
md5sum completed no
sha1sum completed no
sha256sum completed no
sha512sum completed no
true completed yes
uniq not yet no -c is not implemented yet
rm completed no
rmdir completed no
which completed no
wc completed no
wget completed no
yes completed no
sleep completed no
seq completed no
tr completed yes
uuidgen completed yes

higher priority

  • split
  • sort
  • paste
  • join
  • grep

Not Portable

  • chgrp
  • chown

TODO

many

Memo

Single UNIX Specification v3, Shell and Utilities http://www.unix.org/version3/xcu_contents.html http://pubs.opengroup.org/onlinepubs/9699919799/idx/utilities.html

LICENSE

Since this project uses many of Golang standard libraries, I choose the same License.

BSD 3-clause

toybox's People

Contributors

shirou avatar

Watchers

 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.