Documentation ¶
Index ¶
- Constants
- Variables
- type Cat
- func (c Cat) Files(f ...string) Cat
- func (c Cat) FromArgs(argv []string) (Cat, error)
- func (c Cat) Run(ctx context.Context, stdio unix.StandardIO) error
- func (c Cat) SetDebug(debug bool) Cat
- func (c Cat) ShowEnds(b bool) Cat
- func (c Cat) ShowNonPrinting(b bool) Cat
- func (c Cat) ShowNumber(n number) Cat
- func (c Cat) ShowTabs(b bool) Cat
- func (c Cat) SqueezeBlanks(b bool) Cat
Constants ¶
View Source
const ( None number = 0 NonBlank number = 1 All number = 2 )
Variables ¶
View Source
var (
ErrNothingToDo = pipe.NewErrorf(1, "cat: nothing to do")
)
Functions ¶
This section is empty.
Types ¶
type Cat ¶
type Cat struct {
// contains filtered or unexported fields
}
func (Cat) ShowNonPrinting ¶
ShowNonPrinting use ^ and M- notation, except for LFD and TAB
func (Cat) ShowNumber ¶
ShowNumber adds none all or non empty output lines
func (Cat) SqueezeBlanks ¶
SqueezeBlanks - supress repeated empty lines
Click to show internal directories.
Click to hide internal directories.