tac

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

tac concatenates files and prints to stdout in reverse order, file by file

Synopsis:

tac <file...>

Description:

Options:

Index

Constants

View Source
const ReadSize int64 = 4096

Variables

This section is empty.

Functions

func New

func New(fo FileOpen) core.Command

New creates a new tac command.

Types

type FileOpen added in v0.0.7

type FileOpen func(string) (*os.File, error)

command implements the tac utility.

type ReadAtSeeker

type ReadAtSeeker interface {
	io.ReaderAt
	io.Seeker
}

Jump to

Keyboard shortcuts

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