https://github.com/guonaihong/coreutils
Reimplement the gnu coreutils package with the go language. Coreutils contains many basic commands
https://github.com/guonaihong/coreutils
command-line-tool coreutils linux-command
Last synced: about 1 year ago
JSON representation
Reimplement the gnu coreutils package with the go language. Coreutils contains many basic commands
- Host: GitHub
- URL: https://github.com/guonaihong/coreutils
- Owner: guonaihong
- License: apache-2.0
- Created: 2018-11-25T02:26:03.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-06-26T13:24:15.000Z (almost 7 years ago)
- Last Synced: 2025-03-18T14:02:23.158Z (about 1 year ago)
- Topics: command-line-tool, coreutils, linux-command
- Language: Go
- Homepage:
- Size: 200 KB
- Stars: 55
- Watchers: 5
- Forks: 8
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](./base32/README.md)
* base64 [detail](./base64/README.md)
* basename [detail](./basename/README.md)
* cat [detail](./cat/README.md)
* chgrp [detail](./chgrp/README.md)
* chown [detail](./chown/README.md)
* cut [detail](./cut/README.md)
* dirname [detail](./dirname/README.md)
* echo [detail](./echo/README.md)
* head [detail](./head/README.md)
* env
* link
* md5sum [detail](./md5sum/README.md)
* paste [detail](./paste/README.md)
* pwd [detail](./pwd/README.md)
* rmdir [detail](./rmdir/README.md)
* tee [detail](./tee/README.md)
* touch [detail](./touch/README.md)
* tail [detail](./tail/README.md)
* tac [detail](./tac/README.md)
* tr [detail](./tr/README.md)
* true [detail](./true/README.md)
* uname [detail](./uname/README.md)
* uniq [detail](./uniq/README.md)
* unlink
* whoami [detail](./whoami/README.md)
* yes [detail](./yes/README.md)
* shuf [detail](./shuf/README.md)
* seq [detail](./seq/README.md)
* sha1sum [detail](./sha1sum/README.md)
* sha224sum [detail](./sha224sum/README.md)
* sha256sum [detail](./sha256sum/README.md)
* sha384sum [detail](./sha384sum/README.md)
* sha512sum [detail](./sha512/README.md)
* sleep [detail](./sleep/README.md)
## progress
progress = 34 / 92 = 36.7%