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.\" 7.\" %sccs.include.redist.man% 8.\" 9.\" @(#)fpr.1 6.5 (Berkeley) 06/24/90 10.\" 11.Dd 12.Dt FPR 1 13.Os BSD 4.2 14.ds f. fpr.tbl 15.Sh NAME 16.Nm fpr 17.Nd print Fortran file 18.Sh SYNOPSIS 19.Nm fpr 20.Sh DESCRIPTION 21.Nm Fpr 22is a filter that transforms files formatted according to 23Fortran's carriage control conventions into files formatted 24according to UNIX line 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.Ds I 33.Cw Character 34.Cl Blank One line 35.Pp 36.Cl 0 Two lines 37.Cl 1 To first line of next page 38.Cl + No advance 39.Cw 40.De 41.Pp 42A blank line is treated as if its first 43character is a blank. A blank that appears as a carriage control 44character is deleted. A zero is changed to a newline. A one is 45changed to a form feed. The effects of a "+" are simulated using 46backspaces. 47.Sh EXAMPLES 48.Dl a.out \&| fpr \&| lpr 49.Pp 50.Dl fpr \&< f77.output \&| lpr 51.Sh HISTORY 52.Nm Fpr 53appeared in 4.2 BSD. 54.Sh BUGS 55Results are undefined for input lines longer than 170 characters. 56