* Printing with line numbers
@ 1993-02-19 0:48 Chris Nelson
1993-02-19 2:21 ` Sture Langemar
0 siblings, 1 reply; 2+ messages in thread
From: Chris Nelson @ 1993-02-19 0:48 UTC (permalink / raw)
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!
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Printing with line numbers
1993-02-19 0:48 Printing with line numbers Chris Nelson
@ 1993-02-19 2:21 ` Sture Langemar
0 siblings, 0 replies; 2+ messages in thread
From: Sture Langemar @ 1993-02-19 2:21 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1993-02-19 2:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-02-19 0:48 Printing with line numbers Chris Nelson
1993-02-19 2:21 ` Sture Langemar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox