Thanks to visit codestin.com
Credit goes to github.com

Skip to content

someorg/Page

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Page

A paginator for STDIN.

Takes a page-size (default 20) and outputs a user-specified page-number of lines.

Usage

page [page-size] <page>

Equivalent to the shell command

head -n $((page-size*page)) | tail -n -page

Page accepts input on STDIN and outputs to STDOUT. The <page> argument is 1 indexed.

About

Paginate STDIN

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Haskell 100.0%