Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
FORM(1)			    General Commands Manual		       FORM(1)

NAME
       FORM - Symbolic manipulation system

SYNOPSIS
       form [ options ]	inputfile

DESCRIPTION
       FORM  is	 a symbolic manipulation system. The form command reads	a text
       file (which should have a name that ends	with the extension .frm, or  -
       to  read	the standard input) containing definitions of mathematical ex-
       pressions as well as statements that tell it how	 to  manipulate	 these
       expressions. It is widely used in the theoretical particle physics com-
       munity,	but  it	 is  not  restricted  to applications in this specific
       field.

       tform is	the threaded version using POSIX Threads.

       parform is the multiprocessing version using MPI.

OPTIONS
       -      Read the input from stdin	instead	of from	a file.

       -c     Error checking only. Notice that this will not work properly  if
	      there  are conditionals in the preprocessor phase	that depend on
	      results obtained at earlier stages of the	program.

       -C     Next argument is the filename of the log file.  The  default  is
	      the filename of the FORM script with the .log extension.

       -d, -D Next argument/option is the name of a preprocessor variable that
	      will  be	defined	before the run starts. A specific value	can be
	      assigned with the	 syntax	 -d VARIABLENAME=VALUE.	  The  default
	      value is 1.

       -f     Output goes only to log file.

       -F     Output only to log file. Further like -L or -ll.

       -h     Wait  for	some key to be touched before finishing	the run. Basi-
	      cally only for some old window based systems.

       -I     Next argument/option is the path of  a  directory	 for  include,
	      procedure	and subroutine files.

       -l     Make a regular log file.

       -ll, -L
	      Make a log file without intermediate statistics.

       -M     This  option  is	ignored.  The  PID (process identifier)	of the
	      process is now always included in	 the  name  of	the  temporary
	      files.

       -p     Next  argument/option  is	the path of a directory	for input, in-
	      clude, procedure and subroutine files.

       -pipe  Indicates	that FORM is started up	as  the	 receiving  end	 of  a
	      pipe.  Action  will  be taken to set up the proper communication
	      channels.

       -q, -si
	      Quiet option. Only output	expressions are	printed.

       -R     Recover from a crash.

       -s     Next argument/option is the path of  a  directory	 for  a	 setup
	      file.

       -S     Next argument/option is the name of a setup file.

       -t     Next  argument/option  is	 the path of a directory for temporary
	      files.

       -ts    Next argument/option is the path of a  directory	for  temporary
	      sort files.

       -T     Puts  FORM  in a mode in which the maximum totalsize is measured
	      and printed at the end of	the program.

       -v     Only the version will be printed.	The program terminates immedi-
	      ately after it.

       -vv    Same as -v, but prints verbose version information.

       -w     This should be followed immediately  by  a  number  without  any
	      space.  The  number  indicates  the number of worker threads for
	      tform. All other versions	of FORM	ignore this parameter.

       -W     Turn on the wall-clock time mode in the statistics.

       -z     The number following is a	timelimit for the program in second.

       -Z     Removes the .str file on crash, whatever its contents. Under or-
	      dinary circumstances at a	crash a	.str file will not be  removed
	      if it has	a nonzero content.

       -y     Run only the preprocessor	and dump its output.

ENVIRONMENT
       FORMPATH
	      The  directory in	which FORM will	look for procedures and	header
	      files, assuming it cannot	find them in the current directory.

       FORMTMP
	      The directory in which FORM will make its	temporary files.

       FORMTMPSORT
	      The directory in which FORM will make its	temporary sort files.

       FORMSETUP
	      The full path and	name of	a setup	file.

SEE ALSO
       https://www.nikhef.nl/~form/
	      The FORM home site.

       https://github.com/form-dev/form/
	      The repository on	GitHub.

				  2026-01-27			       FORM(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=form&sektion=1&manpath=FreeBSD+Ports+15.1.quarterly>

home | help