FreeBSD 7.0 manual page repository

FreeBSD is a free computer operating system based on BSD UNIX originally. Many IT companies, like DeployIS is using it to provide an up-to-date, stable operating system.

asa - interpret carriage-control characters



      asa - interpret carriage-control characters


      asa [file ...]


      The asa utility reads files sequentially, mapping FORTRAN carriage-con‐
      trol characters to line-printer control sequences, and writes them to the
      standard output.
      The first character of each line is interpreted as a carriage-control
      character.  The following characters are interpreted as follows:
      〈space〉  Output the rest of the line without change.
      0        Output a 〈newline〉 character before printing the rest of the
      1        Output a 〈formfeed〉 character before printing the rest of the
      +        The trailing 〈newline〉 of the previous line is replaced by a
               〈carriage-return〉 before printing the rest of the line.
      Lines beginning with characters other than the above are treated as if
      they begin with 〈space〉.
      The asa utility exits 0 on success, and >0 if an error occurs.


      To view a file containing the output of a FORTRAN program:
            asa file
      To format the output of a FORTRAN program and redirect it to a line-
            a.out | asa | lpr


      The asa utility conforms to IEEE Std 1003.1-2001 (“POSIX.1”).


      J.T. Conklin, Winning Strategies, Inc.


Based on BSD UNIX
FreeBSD is an advanced operating system for x86 compatible (including Pentium and Athlon), amd64 compatible (including Opteron, Athlon64, and EM64T), UltraSPARC, IA-64, PC-98 and ARM architectures. It is derived from BSD, the version of UNIX developed at the University of California, Berkeley. It is developed and maintained by a large team of individuals. Additional platforms are in various stages of development.