fpr man page on Solaris

Man page or keyword search:  
man Server   20652 pages
apropos Keyword Search (all sections)
Output format
Solaris logo
[printable version]

FPR(1)									FPR(1)

NAME
       fpr - convert FORTRAN carriage-control output to printable form

SYNOPSIS
       fpr [ file...  ]

DESCRIPTION
       In  UNIX System V, the asa utility is the standard, not fpr.  fpr reads
       one file and writes another file.  It transforms a  file	 formatted  by
       FORTRAN	carriage-control  conventions  into  a	file formatted by UNIX
       line-printer conventions.   fpr	copies	its  input  onto  its  output,
       replacing  the  carriage	 control  characters with characters that will
       produce the intended effects when  printed  using  lpr(1).   The	 first
       character of each line determines the vertical spacing as follows:

       (blank)
	      one line

       0      two lines

       1      to first line of next page

       +      no advance

       A  blank line (that is, an empty line) is treated as if its first char‐
       acter is a blank.

       A blank line that appears as  a	carriage  control  character  only  is
       deleted.

       A zero is changed to a newline.

       A one is changed to a form feed.

       A plus is simulated using backspaces.

EXAMPLES
	       write(*,'(" Blank")')
	       write(*,'("0Zero ")')
	       write(*,'("+	   Plus ")')
	       write(*,'("1One	")')
	       end

       Example 1.  With actual files:

       a.out > MyOutputFile
       fpr  <  MyOutputFile |  lpr

       Example 2.  With only pipes:

       a.out  |	  fpr  |  lpr

       Both of the above examples produce two pages of output.
       Page 1:
	    Blank

	    ZeroPlus
       Page 2:
	    One

BUGS
       Results are undefined for input lines longer than 170 characters.

SEE ALSO
       asa(1)

				   July 1995				FPR(1)
[top]

List of man pages available for Solaris

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net