Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!wuarchive!emory!gatech!bloom-beacon!eru!hagbard!sunic!mcsun!ukc!dcl-cs!gdt!exspes From: exspes@gdr.bath.ac.uk (P E Smee) Newsgroups: comp.unix.questions Subject: Re: How to add line numbers to a text file? Message-ID: <1990Dec6.115718.6064@gdr.bath.ac.uk> Date: 6 Dec 90 11:57:18 GMT References: <6765@mgweed.UUCP> Reply-To: P.Smee@bristol.ac.uk (Paul Smee) Organization: University of Bristol c/o University of Bath Lines: 12 In article <6765@mgweed.UUCP> prg@mgweed.UUCP (Gunsul) writes: > >Haven't seen anyone mention: > > pr -t -n filename Another good one, though -n is only available standardly on S-III, S-V, and Xenix 3.0 and later. Not Berkeley, V7, or early Xenix. -- Paul Smee, Computing Service, University of Bristol, Bristol BS8 1UD, UK P.Smee@bristol.ac.uk - ..!uunet!ukc!bsmail!p.smee - Tel +44 272 303132