Reimplement the gnu coreutils package with the go language. Coreutils contains many basic commands
The coreutils project is a reimplemented version of golang
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"
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"
progress = 34 / 92 = 36.7%