go-cat

command module
v0.0.0-...-6af0bf3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

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)

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL