Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ doscat(1) — Reliant UNIX 5.44c4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

doscat(1)                                                         doscat(1)

NAME
     doscat - display files on an MS-DOS floppy disk

SYNOPSIS
     doscat [-m] [-r] a:dospath ...

DESCRIPTION
     doscat writes one or more files from an MS-DOS floppy disk to the
     standard output of the Reliant UNIX system.

OPTIONS
     No option specified:
          The code for line feed in MS-DOS text files is CR-NL; Reliant
          UNIX files use NL only. The sequence CR-NL is converted to NL.
          The DOS end-of-file character SUB ("1A") is eliminated. An MS-DOS
          text file is converted into a Reliant UNIX text file. No charac-
          ter conversion is performed on binary files.

     -m   Forces character conversion, which means that the character con-
          versions described above are also performed for binary files.

     -r   doscat transfers data "raw", i.e. all characters remain unchanged
          (including those in text files).

     a:
     A:   As in DOS conventions, a: or A: designates the disk drive via
          which the MS-DOS floppy disk is addressed. This string must be
          prepended to each DOS path name. a: or A: addresses the first
          floppy disk drive. If a second drive exists, it may be addressed
          as b: or B:.

     dospath
          specifies the path name of the required file in the MS-DOS file
          system.

          The use of wild cards (*, ?, [ ]) is permitted but the path name
          must be unique.

LOCALE
     The LCMESSAGES environment variable governs the language in which
     message texts are displayed. If LCMESSAGES is undefined or is defined
     as the null string, it defaults to the value of LANG. If LANG is like-
     wise undefined or null, the system acts as if it were not internation-
     alized.

     The LCALL environment variable governs the entire locale. LCALL
     takes precedence over all the other environment variables which affect
     internationalization.







Page 1                       Reliant UNIX 5.44                Printed 11/98

doscat(1)                                                         doscat(1)

EXAMPLES
     Example 1

     What are the contents of the MS-DOS file "BOOKS"?

     $ doscat a:books
     This file lists all books purchased by the company.

     Author          Title                           Purchase        Price
                                                      date
     ______________________________________________________________________

     $

     Example 2

     You want to read the contents of the MS-DOS files "USER/JONES/ORDERS"
     and "GAMES/FISH".

     $ doscat a:user/jones/orders a:games/fish
     ORDERS since 01.01.1986
     FISH-GAME:
     If this screen were an aquarium,
     one could have a
     little fish swimming around in it!
     $

     The doscat command has displayed the contents of the files sequen-
     tially.

NOTES
     If a directory contains more than 254 file names, the doscat command
     may produce the error message "Error - too many filenames". In this
     case, the user must limit the number of file names involved (for exam-
     ple by not using "*.*").



















Page 2                       Reliant UNIX 5.44                Printed 11/98

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026