alias

package
v0.1.2 Latest Latest
Warning

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

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

Documentation

Overview

Package alias provides short names for grep command flags.

Index

Constants

View Source
const Count = command.GrepCount

-c flag: count matching lines instead of printing them

View Source
const Extended = command.GrepExtended

-E flag: extended regex (no-op, Go uses extended regex by default)

View Source
const IgnoreCase = command.GrepIgnoreCase

-i flag: case-insensitive matching

View Source
const Invert = command.GrepInvert

-v flag: invert match (print non-matching lines)

View Source
const LineNumbers = command.GrepLineNumbers

-n flag: prepend line number to each matching line

View Source
const NoCount = command.GrepNoCount

default: print matching lines

View Source
const NoExtended = command.GrepNoExtended

default: fixed-string match

View Source
const NoIgnoreCase = command.GrepNoIgnoreCase

default: case-sensitive matching

View Source
const NoInvert = command.GrepNoInvert

default: normal match

View Source
const NoLineNumbers = command.GrepNoLineNumbers

default: no line numbers

View Source
const NoWholeLine = command.GrepNoWholeLine

default: substring match

View Source
const NoWord = command.GrepNoWord

default: no word boundary constraint

View Source
const WholeLine = command.GrepWholeLine

-x flag: match only if entire line equals pattern

-w flag: match pattern only at word boundaries

Variables

This section is empty.

Functions

func Grep

func Grep(pattern command.GrepPattern, opts ...any) gloo.Command[[]byte, []byte]

Grep 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