coreutils icon indicating copy to clipboard operation
coreutils copied to clipboard

Reimplement the gnu coreutils package with the go language. Coreutils contains many basic commands

coreutils

summary

The coreutils project is a reimplemented version of golang

install coreutils

env GOPATH=`pwd` go get github.com/guonaihong/coreutils/coreutils

If you want to use the cat command

./coreutils cat flie
./coreutils cut -d":" -f1 /etc/passwd
./coreutils echo "hello china"

install Compile command separately

env GOPATH=`pwd` go run github.com/guonaihong/coreutils/buildall

If you want to use the cat command

./cat flie
./cut -d":" -f1 /etc/passwd
./echo "hello china"

The completed command is as follows

  • base32 detail
  • base64 detail
  • basename detail
  • cat detail
  • chgrp detail
  • chown detail
  • cut detail
  • dirname detail
  • echo detail
  • head detail
  • env
  • link
  • md5sum detail
  • paste detail
  • pwd detail
  • rmdir detail
  • tee detail
  • touch detail
  • tail detail
  • tac detail
  • tr detail
  • true detail
  • uname detail
  • uniq detail
  • unlink
  • whoami detail
  • yes detail
  • shuf detail
  • seq detail
  • sha1sum detail
  • sha224sum detail
  • sha256sum detail
  • sha384sum detail
  • sha512sum detail
  • sleep detail

progress

progress = 34 / 92 = 36.7%