Go to the previous, next section.
To run a file through troff and send its output to a file, type the following command:
groff -ms inputfile > troffoutputfile
Replace inputfile with the name of the file to be run through troff. Replace troffoutputfile with the name of the new file you want to receive troff's output.
For example, to run a file called ch9 through troff and send its output to a file called ch9.out, you would type the following command:
groff -ms ch9 > ch9.out
Go to the previous, next section.