# RootPrompt.org   Nothing but Unix.[Home] [Features] [Programming] [Mac OS X] [Search]

 Reading Text Streams in Chunks With head and tail

Have you ever wondered how to read or excerpt text in bite-sized chunks using the head and tail commands? This article introduces these commands, which can be useful for processing chunks of data from both static and dynamic files. It teaches you how to process only a few lines of a file, change the number of lines that a command sends, and reverse the order of lines in a file.

 (Submitted by Anonymous Mon Nov 25, 2002 )


Our content can be syndicated: Main page Mac Page

Copyright 1999-2005 Noel Davis. Noel also runs web sites about sailing and kayaking.
All trademarks are the property of their owners.
All articles are owned by their author