Categorygithub.com/conao3/go-cat
modulepackage
0.0.0-20220814153357-6af0bf3f69c4
Repository: https://github.com/conao3/go-cat.git
Documentation: pkg.go.dev

# README

go-cat

Simple implementation of cat.

Install

go install .

Usage

  • argument
$ go-cat -i /proc/version
Linux version 5.13.19-2-MANJARO (builduser@fv-az39-393) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) 2.36.1)
  • stdin
$ cat /proc/version | go-cat
Linux version 5.13.19-2-MANJARO (builduser@fv-az39-393) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) 2.36.1)
$ go-cat
a
abc
[Ctrl-d]
a
abc
  • filename as - alias of stdin
cat /proc/version | go-cat -i -
Linux version 5.13.19-2-MANJARO (builduser@fv-az39-393) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) 2.36.1)

# Functions

No description provided by the author
No description provided by the author

# Structs

No description provided by the author