Skip to content

Latest commit

 

History

History
108 lines (82 loc) · 2.08 KB

README.rst

File metadata and controls

108 lines (82 loc) · 2.08 KB

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 completed no  
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