alias

package
v0.1.2 Latest Latest
Warning

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

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

Documentation

Overview

Package alias provides short names for tr command flags.

Index

Constants

View Source
const Complement = command.TrComplement

-c flag: complement set

View Source
const Delete = command.TrDelete

-d flag: delete characters

View Source
const NoComplement = command.TrNoComplement

default: use set as-is

View Source
const NoDelete = command.TrNoDelete

default: translate

View Source
const NoSqueeze = command.TrNoSqueeze

default: don't squeeze

View Source
const Squeeze = command.TrSqueeze

-s flag: squeeze repeats

Variables

This section is empty.

Functions

func Tr

func Tr(from, to command.TrSet, opts ...any) gloo.Command[[]byte, []byte]

Tr builds the tr command: from is set1, to is set2; ranges like "a-z" expand.

Types

type Set

type Set = command.TrSet

Set names a tr character set argument (set1/set2).

Jump to

Keyboard shortcuts

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