go-cat
Simple implementation of cat
.
Install
go install .
Usage
$ 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)
$ 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)