alias

package
v0.1.12 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 perl command and its flags.

import perl "github.com/gloo-foo/cmd-perl/alias"
perl.Perl(perl.Script("s/a/b/"), perl.Print)

Index

Constants

View Source
const AutoSplit = command.PerlAutoSplit

-a flag: autosplit each line into @F

-n flag: loop over input lines

View Source
const NoAutoSplit = command.PerlNoAutoSplit

default: do not autosplit

View Source
const NoLoop = command.PerlNoLoop

default: do not loop over input lines

View Source
const NoPrint = command.PerlNoPrint

default: do not auto-print

View Source
const Print = command.PerlPrint

-p flag: loop and auto-print each line

Variables

This section is empty.

Functions

func Perl

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

Perl re-exports the constructor by delegation, preserving its exact signature.

Types

type Script

type Script = command.PerlScript

Script re-exports the -e script-body flag type.

Jump to

Keyboard shortcuts

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