alias

package
v0.1.16 Latest Latest
Warning

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

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

Documentation

Overview

Package alias provides an unprefixed name for the sed command.

import sed "github.com/gloo-foo/cmd-sed/alias"
sed.Sed("s/old/new/g")

sed's flags (g, i, p, N) are part of the s/// script string, not separate option values, so the constructor is the only re-export.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Sed

func Sed(script command.SedScript) gloo.Command[[]byte, []byte]

Sed re-exports the substitution command constructor.

Types

type Script

type Script = command.SedScript

Script names the s/// substitution script argument.

Jump to

Keyboard shortcuts

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