File: Do_troff

package info (click to toggle)
bsdgames 2.17-35
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 11,436 kB
  • sloc: ansic: 80,217; sh: 1,509; cpp: 1,154; yacc: 321; lex: 75; makefile: 62; sed: 13; csh: 5
file content (11 lines) | stat: -rw-r--r-- 250 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/csh -f
#	$NetBSD: Do_troff,v 1.2 1995/03/23 08:28:52 cgd Exp $
#
#	@(#)Do_troff	8.1 (Berkeley) 5/31/93
#

set file=$1
shift
( echo ".ds Se $file" ; cat Troff.mac ; sed -f Troff.sed $file ) | \
	$* -me >& $file.tr
echo troff output in $file.tr