alias

package
v0.1.15 Latest Latest
Warning

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

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

Documentation

Overview

Package alias provides unprefixed names for the uniq command and its flags.

import uniq "github.com/gloo-foo/cmd-uniq/alias"
uniq.Uniq(uniq.DuplicatesOnly)

Index

Constants

View Source
const Count = command.UniqCount

-c flag: prefix each line with its occurrence count

View Source
const DuplicatesOnly = command.UniqDuplicatesOnly

-d flag: emit only repeated groups

View Source
const IgnoreCase = command.UniqIgnoreCase

-i flag: compare lines case-insensitively

View Source
const NoCount = command.UniqNoCount

default: do not prefix counts

View Source
const NoDuplicatesOnly = command.UniqNoDuplicatesOnly

default: do not restrict to repeated groups

View Source
const NoIgnoreCase = command.UniqNoIgnoreCase

default: compare lines case-sensitively

View Source
const NoUniqueOnly = command.UniqNoUniqueOnly

default: do not restrict to non-repeated groups

View Source
const UniqueOnly = command.UniqUniqueOnly

-u flag: emit only non-repeated groups

Variables

This section is empty.

Functions

func Uniq

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

Uniq re-exports the constructor.

Types

This section is empty.

Jump to

Keyboard shortcuts

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