Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: sture@heron.DAFA.SE (Sture Langemar)
Subject: Re: Printing with line numbers
Date: 19 Feb 93 02:21:29 GMT	[thread overview]
Message-ID: <1593@heron.DAFA.SE> (raw)
In-Reply-To: 1!-4a1n@rpi.edu

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


      reply	other threads:[~1993-02-19  2:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-02-19  0:48 Printing with line numbers Chris Nelson
1993-02-19  2:21 ` Sture Langemar [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox