[net.sources.bugs] tbl preprocessor for expanding .so files

rwl@uvacs.UUCP (Ray Lubinsky) (06/10/85)

> This filter can be used to expand tables specified in files that
> are dragged in by .so nroff commands.  It's needed in front of
> pipelines like
> 	tbl ... | nroff ...
				:
				:

Correct if I'm wrong, but isn't this just a weaker version of  soelim(1)?   I'm
on 4.2 BSD, so, I don't know, maybe this filter doesn't exist on other versions
of Unix.  If it does, there's no point in reinventing the wheel.  Soelim(1) can
also handle nesting of ".so" calls.
-- 

Ray Lubinsky		     University of Virginia, Dept. of Computer Science
			     uucp: decvax!mcnc!ncsu!uvacs!rwl

ral@pyuxqq.UUCP (06/13/85)

>Correct if I'm wrong, but isn't [catso] just a weaker version of
>soelim(1)?   I'm on 4.2 BSD, so, I don't know, maybe this filter
>doesn't exist on other versions of Unix.  If it does, there's no
>point in reinventing the wheel.  Soelim(1) can also handle
>nesting of ".so" calls.

Sorry, but on our System V, we have no soelim!

========================================================================
Ron Levenberg
Bell Communications Research
3 Corporate Place
Room 2C-315
Piscataway, NJ 08854

(201) 981-6178
..!allegra!pyuxqq!ral

guy@sun.uucp (Guy Harris) (06/16/85)

> >Correct if I'm wrong, but isn't [catso] just a weaker version of
> >soelim(1)?   I'm on 4.2 BSD, so, I don't know, maybe this filter
> >doesn't exist on other versions of Unix.  If it does, there's no
> >point in reinventing the wheel.  Soelim(1) can also handle
> >nesting of ".so" calls.
> 
> Sorry, but on our System V, we have no soelim!

Since Bellcore has 4.2 one at least one of one of their machines, just copy
the source over to your S5 machine and compile it.  It's a simple program
(written by the VP of R&D at Sun Microsystems) which should run on any V7 or
post-V7 version of UNIX.  (According to the comments at the front:

	This program eliminates .so's from a n/troff input stream.
	It can be used to prepare safe input for submission to the
	phototypesetter since the software supporting the operator
	doesn't let him do chdir.

	This is a kludge and the operator should be given the
	ability to do chdir.

	This program is more generally useful, it turns out, because
	the program tbl doesn't understand ".so" directives.
)

I don't know what the U of C's policy on redistributing their software is,
but I don't think "soelim" has any AT&T code in it so there's probably no
problem with AT&T.

	Guy Harris