Documentation
¶
Overview ¶
Package alias provides unprefixed type aliases for wc command flags.
import wc "github.com/gloo-foo/cmd-wc/alias" wc.Wc(wc.Lines)
Index ¶
Constants ¶
View Source
const Bytes = command.WcBytes
-c flag: count bytes
View Source
const Chars = command.WcChars
-m flag: count characters (runes)
View Source
const Lines = command.WcLines
-l flag: count lines
View Source
const MaxLineLength = command.WcMaxLineLength
-L flag: report the maximum line length
View Source
const NoBytes = command.WcNoBytes
default: don't count bytes
View Source
const NoChars = command.WcNoChars
default: don't count characters
View Source
const NoLines = command.WcNoLines
default: don't count lines
View Source
const NoMaxLineLength = command.WcNoMaxLineLength
default: don't report the maximum line length
View Source
const NoWords = command.WcNoWords
default: don't count words
View Source
const Words = command.WcWords
-w flag: count words
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.