cat

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2021 License: MIT-0 Imports: 3 Imported by: 0

Documentation

Overview

concatenate and print files.

SYNOPSIS

cat [-u] [FILE ...]

DESCRIPTION

cat reads files sequentially, writing them to stdout. The FILE operands are processed in the provided order. If FILE is a single dash ('-') or absent, cat reads from stdin.

The options are as follows:

-u        Unbuffered output

SEE ALSO

tbd

REFERENCES

https://pubs.opengroup.org/onlinepubs/9699919799/utilities/cat.html
http://harmful.cat-v.org/cat-v/

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Unbuffered bool
}

func (*Options) Cat

func (opt *Options) Cat(operands []string) error

type Opts

type Opts func(*Options)

func Unbuffered

func Unbuffered(unbuffered bool) Opts

Jump to

Keyboard shortcuts

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