Web design careers - 512Part IVRunning ApplicationsWhen you run the groffformatting command,

512Part IVRunning ApplicationsWhen you run the groffformatting command, you can indicate on the commandline which macro packages you are using. You can also indicate that the documentshould be run through any of the following commands that preprocess text for spe- cial formats: .eqn Formats macros that produce equations in groff. .pic Formats macros that create simple line drawings in groff. .tbl Formats macros that produce tables within groff. The formatted Groff document is output for a particular device type. The devicecan be a printer, a window, or (for plain text) your shell. Here are output forms sup- ported by Groff: FormProducespsPostScript output for PostScript printer or a PostScript previewerlj4Output for an HP LaserJet4 printer or other PCL5-compatible printerasciiPlain-text output that can be viewed from a Terminal windowdviOutput in TeX dvi, to output to a variety of devices described laterX75Output for an X11 75 dots/inch previewerX100Output for an X11 100 dots/inch previewerlatin1Typewriter-like output using the ISO Latin-1 character setFormatting and printing documents with GroffTry formatting and printing an existing Groff document using any man pages onyour system. You ll find some in /usr/share/man/*; they re compressed, so copythem to a temporary directory and unzip them to try out Groff. The following commands copy the chown man page to the /tmpdirectory, unzip it, and format it in plain text so you can page through it on your screen: $ cp /usr/share/man/man1/chown.1.gz /tmp$ gunzip /tmp/chown.1.gz$groff -Tascii -man /tmp/chown.1 | lessIn this example, the chown man page (chown.1.gz) is copied to the /tmpdirectory, unzipped (using gunzip), and output in plain text (-Tascii) using the man macros(-man). The output is piped to less, to page through it on your screen. Instead of pip- ing to less ( | less), you could direct the output to a file (> /tmp/chown.txt).
Go visit our java server pages services for a reliable, lowcost webhost to satisfy all your needs.

Leave a Reply