head-like

command
v1.11.26 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2023 License: MIT Imports: 3 Imported by: 0

README

head-like

The feature head-like provides a flag like --lines' of [head`(1)](https://www.man7.org/linux/man-pages/man1/head.1.html).

-n/--lines as we known it can be abbreviated to -number, it looks like:

head -9 some.txt.file   # print the first 9 lines of 'some.txt.file'

head-like app simulate it with:

go run ./examples/head-like -n 9
go run ./examples/head-like --lines 9
go run ./examples/head-like -9
go run ./examples/head-like -113

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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