From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,1ec3c81308e07fdb X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-02-18 18:21:29 PST Path: sparky!uunet!pipex!seunet!heron!sture From: sture@heron.DAFA.SE (Sture Langemar) Newsgroups: comp.sys.dec Subject: Re: Printing with line numbers Message-ID: <1593@heron.DAFA.SE> Date: 19 Feb 93 02:21:29 GMT References: <1!-4a1n@rpi.edu> Reply-To: sture@heron.QZ.SE (Sture Langemar) Organization: QZ UniversitetsData AB In article <1!-4a1n@rpi.edu> nelsonc@colossus.cs.rpi.edu (Chris Nelson) writes: >Is there a way to print a text file with line numbers under VMS? I've >looked at all the PRINT options that look promising and asked several >people in my shop to no avail. Please e-mail replies as I usually >don't watch this newsgroup. Thanks in advance. > > Chris >-- >------------------------------+------------------------------------------ >Chris Nelson | Rens-se-LEER is a county. >Internet: nelsonc@cs.rpi.edu | RENS-se-ler is a city. >CompuServe: 70441,3321 | R-P-I is a school in Troy! Here comes a small hack: $ search yourfile.ext "" /num/out=temp.tmp $ print temp.tmp /delete Unless, of course, if your file is a source file for some programming language, you would be better off with the compiler generated listing. Sture Langemar, FOA, Stockholm, Sweden sture@heron.dafa.se or sture@sto.foa.se or sture@atlas.sto.foa.se