Head is easy to emulate: sed 10q

On Nov 9, 2017 12:18 AM, "Will Senn" <will.senn@gmail.com> wrote:
On 11/8/17 5:21 PM, Dave Horsfall wrote:
On Wed, 8 Nov 2017, Arthur Krewat wrote:

head -20 < filename

Or if you really want to confuse the newbies:

    < filename head -20

too bad head doesn't exist on v7. I did have to look up the incantation in Intro to the Shell by Bourne, that's fascinating stuff and it still works on my mac - nuts!

--
GPG Fingerprint: 68F4 B3BD 1730 555A 4462  7D45 3EAA 5B6D A982 BAAF