home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!pipex!bnr.co.uk!uknet!mucs!lucs!rkl
- From: rkl@csc.liv.ac.uk (Richard Lloyd)
- Newsgroups: comp.sys.hp
- Subject: Re: pr -n <file doesn't work in HP-UX 9
- Keywords: pr 9.0
- Message-ID: <C02oDv.IH2@compsci.liverpool.ac.uk>
- Date: 30 Dec 92 12:37:07 GMT
- References: <1992Dec29.182002.12259@cbnewsh.cb.att.com>
- Sender: news@compsci.liverpool.ac.uk (News Eater)
- Organization: Computer Science, Liverpool University
- Lines: 24
- Nntp-Posting-Host: bobr.csc.liv.ac.uk
-
- In article <1992Dec29.182002.12259@cbnewsh.cb.att.com>, gls@cbnewsh.cb.att.com (Col. G. L. Sicherman) writes:
- > Try [on HP-UX 9.0]
- >
- > pr -n < /etc/motd
-
- For those of us without HP-UX 9.0 (i.e. everyone in the world except the US
- it seems), what exactly happens ??
-
- BTW, for those wanting a "pr -n" replacement, try:
-
- nl -ba -w5 filename | pr
-
- You may be interested to know that this gives *identical* results to "pr -n" !!
-
- > In System V clones, pr -n is the *only* simple way to get line
- > numbers.
-
- Not if you've got "nl" :-)
-
- Richard K. Lloyd,
- Computer Science Dept., JANET : rkl@uk.ac.liverpool.compsci
- Liverpool University, Internet : rkl@csc.liv.ac.uk
- Merseyside, England, Q: "What's the world's fastest home micro ?"
- Great Britain. A: "The Archimedes A3000. 4 MIPS for under 800 pounds."
-