aboutsummaryrefslogtreecommitdiff
path: root/gnu/groff/nroff
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/groff/nroff')
-rw-r--r--gnu/groff/nroff/Makefile11
-rw-r--r--gnu/groff/nroff/nroff.158
-rw-r--r--gnu/groff/nroff/nroff.sh52
-rw-r--r--gnu/groff/nroff/psroff.sh2
4 files changed, 0 insertions, 123 deletions
diff --git a/gnu/groff/nroff/Makefile b/gnu/groff/nroff/Makefile
deleted file mode 100644
index 644d3e88963c..000000000000
--- a/gnu/groff/nroff/Makefile
+++ /dev/null
@@ -1,11 +0,0 @@
-MAN1= nroff.1
-
-afterinstall:
- install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
- $(.CURDIR)/nroff.sh $(DESTDIR)$(BINDIR)/nroff
- install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
- $(.CURDIR)/psroff.sh $(DESTDIR)$(BINDIR)/psroff
-
-.include <bsd.prog.mk>
-.include <../../../usr.bin/Makefile.inc>
-.include <../Makefile.cfg>
diff --git a/gnu/groff/nroff/nroff.1 b/gnu/groff/nroff/nroff.1
deleted file mode 100644
index 1dae0571869f..000000000000
--- a/gnu/groff/nroff/nroff.1
+++ /dev/null
@@ -1,58 +0,0 @@
-.TH NROFF 1 "10 August 1992" "Groff Version 1.08"
-.SH NAME
-nroff \- emulate nroff command with groff
-.SH SYNOPSIS
-.B nroff
-[
-.B \-hi
-]
-[
-.BI \-m name
-]
-[
-.BI \-n num
-]
-[
-.BI \-o list
-]
-[
-.BI \-r cn
-]
-[
-.BI \-T name
-]
-[
-.I file\|.\|.\|.
-]
-.SH DESCRIPTION
-The
-.B nroff
-script emulates the
-.B nroff
-command using groff.
-The
-.B \-T
-option with an argument other than
-.B ascii
-and
-.B latin1
-will be ignored.
-The
-.B \-h
-option
-is equivalent to the
-.B grotty
-.B \-h
-option.
-Other options are as described in
-.BR troff (1).
-In addition the
-.BR \-e ,
-.B \-q
-and
-.B \-s
-options are silently ignored.
-.SH "SEE ALSO"
-.BR groff (1),
-.BR troff (1),
-.BR grotty (1)
diff --git a/gnu/groff/nroff/nroff.sh b/gnu/groff/nroff/nroff.sh
deleted file mode 100644
index 1be695995f2d..000000000000
--- a/gnu/groff/nroff/nroff.sh
+++ /dev/null
@@ -1,52 +0,0 @@
-#!/bin/sh
-# Emulate nroff with groff.
-
-prog="$0"
-# Default device.
-T=-Tascii
-opts=
-
-for i
-do
- case $1 in
- -h)
- opts="$opts -P-h"
- ;;
- -[eq]|-s*)
- # ignore these options
- ;;
- -[mrnoT])
- echo "$prog: option $1 requires an argument" >&2
- exit 1
- ;;
- -i|-[mrno]*)
- opts="$opts $1";
- ;;
-
- -Tascii|-Tlatin1)
- T=$1
- ;;
- -T*)
- # ignore other devices
- ;;
- --)
- shift
- break
- ;;
- -)
- break
- ;;
- -*)
- echo "$prog: invalid option $1" >&2
- exit 1
- ;;
- *)
- break
- ;;
- esac
- shift
-done
-
-# This shell script is intended for use with man, so warnings are
-# probably not wanted. Also load nroff-style character definitions.
-exec groff -Wall -mtty-char $T $opts ${1+"$@"}
diff --git a/gnu/groff/nroff/psroff.sh b/gnu/groff/nroff/psroff.sh
deleted file mode 100644
index 8a9008234b43..000000000000
--- a/gnu/groff/nroff/psroff.sh
+++ /dev/null
@@ -1,2 +0,0 @@
-#! /bin/sh -
-exec groff -Tps -l -C ${1+"$@"}