page
page is a small UNIX utility for printing (or echoing) a specific page in a file or standard input. It's a replacement for the otherwise painful use of tail and head.
Download source
page-0.1.1.tar.gz (11 kb)
page-0.1.2.tar.gz (11 kb)
Browse source
page-0.1.1.cpp (165 lines)
page-0.1.2.cpp (194 lines) (Changelog)
Building and installing
make -n all install
# if the install paths seems ok, then go ahead
make all install
Note
Some user asked what was meant by printing. It really means that page simply echoes (or copies) the
input to standard output. If you need to send your output to a printer spooler, then you'll have to combine page
with some other tools. E.g. page -2 somefile | lpr
will send page 2 of somefile to the print-spooler.
Author
Christian Stigen Larsen
Date
This page was last updated on Wednesday, July 23rd 14:46:05 (CEST)
Links
- page is registered on Freshmeat.
- gubby is a small tool for monitoring incoming mail based on your procmail logfile.