cat(1) clone in Golang
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
README.md
gocat.go

README.md

gocat

/bin/cat implemented in go

Behaviour

  • Copies stdin to stdout given no arguments
  • Given arguments, doesn't read from stdin
  • Interprets arguments as filenames
  • - is a special argument meaning stdin
  • Copies contents of files given in order given

License

MIT. See LICENSE for details.