alias

package
v0.1.14 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package alias provides unprefixed names for comm command flags.

import comm "github.com/gloo-foo/cmd-comm/alias"
comm.Comm(input, comm.SuppressColumn1)

Index

Constants

View Source
const NoSuppressColumn1 = command.CommNoSuppressColumn1

default: keep column 1

View Source
const NoSuppressColumn2 = command.CommNoSuppressColumn2

default: keep column 2

View Source
const NoSuppressColumn3 = command.CommNoSuppressColumn3

default: keep column 3

View Source
const SuppressColumn1 = command.CommSuppressColumn1

-1 flag: suppress column 1 (lines only in file1)

View Source
const SuppressColumn2 = command.CommSuppressColumn2

-2 flag: suppress column 2 (lines only in file2)

View Source
const SuppressColumn3 = command.CommSuppressColumn3

-3 flag: suppress column 3 (lines in both files)

Variables

This section is empty.

Functions

func Comm

func Comm(opts ...any) gloo.Command[[]byte, []byte]

Comm compares two sorted line streams and emits the three GNU comm columns; see the command package for the flag set.

Types

type CommFs

type CommFs = command.CommFs

CommFs re-exports the filesystem-injection option.

type CommInput

type CommInput = command.CommInput

CommInput re-exports the second-input type.

Jump to

Keyboard shortcuts

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