toybox

command module
v0.0.0-...-528a4c1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 16, 2023 License: BSD-3-Clause Imports: 47 Imported by: 0

README

========
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
===================

.. csv-table:: Status
   :header: "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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL