|
|
1.1 root 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: .\" Redistribution and use in source and binary forms are permitted provided
8: .\" that: (1) source distributions retain this entire copyright notice and
9: .\" comment, and (2) distributions including binaries display the following
10: .\" acknowledgement: ``This product includes software developed by the
11: .\" University of California, Berkeley and its contributors'' in the
12: .\" documentation or other materials provided with the distribution and in
13: .\" all advertising materials mentioning features or use of this software.
14: .\" Neither the name of the University nor the names of its contributors may
15: .\" be used to endorse or promote products derived from this software without
16: .\" specific prior written permission.
17: .\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
18: .\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
19: .\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
20: .\"
21: .\" @(#)fpr.1 6.7 (Berkeley) 7/24/90
22: .\"
23: .Dd July 24, 1990
24: .Dt FPR 1
25: .Os BSD 4.2
26: .Sh NAME
27: .Nm fpr
28: .Nd print Fortran file
29: .Sh SYNOPSIS
30: .Nm fpr
31: .Sh DESCRIPTION
32: .Nm Fpr
33: is a filter that transforms files formatted according to
34: Fortran's carriage control conventions into files formatted
35: according to UNIX line printer conventions.
36: .Pp
37: .Nm Fpr
38: copies its input onto its output, replacing the carriage
39: control characters with characters that will produce the intended
40: effects when printed using
41: .Xr lpr 1 .
42: The first character of each line determines the vertical spacing as follows:
43: .Ds I
44: .Cw Character
45: .Cl Blank One line
46: .Pp
47: .Cl 0 Two lines
48: .Cl 1 To first line of next page
49: .Cl + No advance
50: .Cw
51: .De
52: .Pp
53: A blank line is treated as if its first
54: character is a blank. A blank that appears as a carriage control
55: character is deleted. A zero is changed to a newline. A one is
56: changed to a form feed. The effects of a "+" are simulated using
57: backspaces.
58: .Sh EXAMPLES
59: .Dl a.out \&| fpr \&| lpr
60: .Pp
61: .Dl fpr \&< f77.output \&| lpr
62: .Sh HISTORY
63: .Nm Fpr
64: appeared in 4.2 BSD.
65: .Sh BUGS
66: Results are undefined for input lines longer than 170 characters.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.