Forrest logo
back to the eqn tool

eqn:tldr:27872

eqn: Process input with equations, saving the output for future typesetting with groff to PostScript.
$ eqn ${path-to-input-eqn} > ${path-to-output-roff}
try on your machine

The command is using the eqn command-line utility to process an equation specified by ${path-to-input-eqn} and redirect the output to ${path-to-output-roff}.

Here is a breakdown of the command:

  • eqn: The command eqn is a typesetting language used to write mathematical equations. It can be used to generate formatted equations.

  • ${path-to-input-eqn}: This is a placeholder for the path to the input equation file. You need to replace it with the actual path to the file you want to process. The input file should contain the equation written in the eqn language.

  • >: This symbol is used for output redirection. It redirects the output of the eqn command to a file instead of displaying it on the screen.

  • ${path-to-output-roff}: This is a placeholder for the path to the output file where the formatted equation will be saved. You need to replace it with the actual path and desired filename extension. The output file will be in roff format, which is a text formatting language.

In summary, the command processes an equation file using eqn and saves the formatted output in roff format to an output file specified by ${path-to-output-roff}.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the eqn tool