command

package module
v0.1.13 Latest Latest
Warning

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

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

README

Documentation

Index

Constants

View Source
const (
	WcLines   wcLinesFlag = true
	WcNoLines wcLinesFlag = false
)
View Source
const (
	WcWords   wcWordsFlag = true
	WcNoWords wcWordsFlag = false
)
View Source
const (
	WcBytes   wcBytesFlag = true
	WcNoBytes wcBytesFlag = false
)
View Source
const (
	WcChars   wcCharsFlag = true
	WcNoChars wcCharsFlag = false
)
View Source
const (
	WcMaxLineLength   wcMaxLineLengthFlag = true
	WcNoMaxLineLength wcMaxLineLengthFlag = false
)

Variables

This section is empty.

Functions

func Wc

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

Wc counts lines, words, and bytes from the input stream. With no flags, all three counts are shown space-separated. Pass WcLines, WcWords, or WcBytes to show individual counts. Pass WcChars (-m) to count characters (runes). Pass WcMaxLineLength (-L) to report the maximum line length in bytes.

Types

This section is empty.

Directories

Path Synopsis
Package alias provides unprefixed type aliases for wc command flags.
Package alias provides unprefixed type aliases for wc command flags.

Jump to

Keyboard shortcuts

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