Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!watmath!clyde!bonnie!akgua!whuxlm!harpo!decvax!genrad!mit-eddie!think!harvard!seismo!brl-tgr!tgr!POSER@SU-CSLI.ARPA From: POSER@SU-CSLI.ARPA (Bill Poser) Newsgroups: net.unix Subject: re: reversing lines in a file Message-ID: <1732@brl-tgr.ARPA> Date: Thu, 26-Sep-85 02:30:50 EDT Article-I.D.: brl-tgr.1732 Posted: Thu Sep 26 02:30:50 1985 Date-Received: Sun, 29-Sep-85 06:30:13 EDT Sender: news@brl-tgr.ARPA Lines: 8 The problem with tail -r giving you only a portion of the file is easily overcome unless you are working with *very* large files or have very little core (or don't have sources). The reason it does this is that tail reads its input in chunks and you're only getting one. The chunk size is set by a define. I forget the name of the parameter but it's pretty obvious. I think it's set to 8192 in the distribution. Just change this to a suitable larger value and recompile. ------- Brought to you by Super Global Mega Corp .com