1*62001Sbostic.\" Copyright (c) 1989, 1990, 1993 2*62001Sbostic.\" The Regents of the University of California. All rights reserved. 319765Smckusick.\" 439855Sbostic.\" This code is derived from software contributed to Berkeley by 539855Sbostic.\" Robert Corbett. 650526Scael.\" %sccs.include.redist.roff% 719765Smckusick.\" 8*62001Sbostic.\" @(#)fpr.1 8.1 (Berkeley) 06/06/93 939855Sbostic.\" 1043693Scael.Dd 1143693Scael.Dt FPR 1 1243693Scael.Os BSD 4.2 1343693Scael.Sh NAME 1443693Scael.Nm fpr 1543693Scael.Nd print Fortran file 1643693Scael.Sh SYNOPSIS 1743693Scael.Nm fpr 1843693Scael.Sh DESCRIPTION 1943693Scael.Nm Fpr 2019765Smckusickis a filter that transforms files formatted according to 2119765SmckusickFortran's carriage control conventions into files formatted 2250526Scaelaccording to 2350526Scael.Ux 2450526Scaelline printer conventions. 2543693Scael.Pp 2643693Scael.Nm Fpr 2719765Smckusickcopies its input onto its output, replacing the carriage 2819765Smckusickcontrol characters with characters that will produce the intended 2919765Smckusickeffects when printed using 3043693Scael.Xr lpr 1 . 3119765SmckusickThe first character of each line determines the vertical spacing as follows: 3250526Scael.Bd -ragged -offset indent -compact 3350526Scael.Bl -column Character 3450526Scael.It Blank One line 3550526Scael.It 0 Two lines 3650526Scael.It 1 To first line of next page 3750526Scael.It + No advance 3850526Scael.El 3950526Scael.Ed 4043693Scael.Pp 4119765SmckusickA blank line is treated as if its first 4219765Smckusickcharacter is a blank. A blank that appears as a carriage control 4319765Smckusickcharacter is deleted. A zero is changed to a newline. A one is 4419765Smckusickchanged to a form feed. The effects of a "+" are simulated using 4519765Smckusickbackspaces. 4643693Scael.Sh EXAMPLES 4743693Scael.Dl a.out \&| fpr \&| lpr 4843693Scael.Pp 4943693Scael.Dl fpr \&< f77.output \&| lpr 5043693Scael.Sh HISTORY 5150526ScaelThe 5250526Scael.Nm fpr 5350526Scaelcommand 5450526Scaelappeared in 5550526Scael.Bx 4.2 . 5643693Scael.Sh BUGS 5719765SmckusickResults are undefined for input lines longer than 170 characters. 58