Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!security!genrad!decvax!harpo!seismo!hao!hplabs!sri-unix!jacob@nrl-css From: jacob%nrl-css@sri-unix.UUCP Newsgroups: net.unix Subject: Re: 'c' shell scripts - (nf) Message-ID: <15086@sri-arpa.UUCP> Date: Wed, 4-Jan-84 12:59:00 EST Article-I.D.: sri-arpa.15086 Posted: Wed Jan 4 12:59:00 1984 Date-Received: Sat, 7-Jan-84 02:52:27 EST Lines: 17 From: Rob Jacob What's wrong with sed rather than head + tail to read successive (single) lines of a file from a cshell script? Should be faster than head + tail. Like this-- #! /bin/csh @ x = 1 while ($x < ??) sed -n ${x}p FILE | ..wherever... @ x = $x + 1 end Or the mailer mangle a previous message on this topic? Rob Jacob jacob@nrl-css