head-like

command
Version: v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2021 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.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL