1.\" Copyright (c) 1989, 1990 The Regents of the University of California. 2.\" All rights reserved. 3.\" 4.\" This code is derived from software contributed to Berkeley by 5.\" Robert Corbett. 6.\" %sccs.include.redist.roff% 7.\" 8.\" @(#)fpr.1 6.9 (Berkeley) 07/24/91 9.\" 10.Dd 11.Dt FPR 1 12.Os BSD 4.2 13.Sh NAME 14.Nm fpr 15.Nd print Fortran file 16.Sh SYNOPSIS 17.Nm fpr 18.Sh DESCRIPTION 19.Nm Fpr 20is a filter that transforms files formatted according to 21Fortran's carriage control conventions into files formatted 22according to 23.Ux 24line printer conventions. 25.Pp 26.Nm Fpr 27copies its input onto its output, replacing the carriage 28control characters with characters that will produce the intended 29effects when printed using 30.Xr lpr 1 . 31The first character of each line determines the vertical spacing as follows: 32.Bd -ragged -offset indent -compact 33.Bl -column Character 34.It Blank One line 35.It 0 Two lines 36.It 1 To first line of next page 37.It + No advance 38.El 39.Ed 40.Pp 41A blank line is treated as if its first 42character is a blank. A blank that appears as a carriage control 43character is deleted. A zero is changed to a newline. A one is 44changed to a form feed. The effects of a "+" are simulated using 45backspaces. 46.Sh EXAMPLES 47.Dl a.out \&| fpr \&| lpr 48.Pp 49.Dl fpr \&< f77.output \&| lpr 50.Sh HISTORY 51The 52.Nm fpr 53command 54appeared in 55.Bx 4.2 . 56.Sh BUGS 57Results are undefined for input lines longer than 170 characters. 58