Reading Text Streams With head and tail
Learn how to process chunks of data from both static and dynamic files using head or tail commands. Whether you use the commands individually or combined, these steps can consolidate the time it takes to read a file at any given length. If you prefer working in bytes instead of lines, not to worry; this article will assist you. You can also learn how to reverse the order of lines in a file with the tac command and change the number of lines that these commands send to their standard output with the -n option.
(Submitted by Anonymous Mon Jan 13, 2003 )
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