Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pcat(1) — Reliant UNIX 5.44c4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cat(1)

pack(1)

unpack(1)

zcat(1)

pcat(1)                                                             pcat(1)

NAME
     pcat - output packed files in unpacked form

SYNOPSIS
     pcat file ...

DESCRIPTION
     pcat takes files that have been compressed with pack and copies them
     to standard output in their original form. The packed file remains
     packed. Files compressed with pack can be restored to their original
     form with the unpack command. Unlike cat(1), pcat is not a filter,
     since it does not read from standard input.

ARGUMENTS
     file Name of the packed file to be output in its original form. You
          can name any number of files.

          You may enter the name of the file with or without the .z exten-
          sion; if you omit the extension, pcat automatically searches for
          the appropriate .z file.

ERROR MESSAGES
     All the errors described below result in the failure of the pcat com-
     mand.

     pcat: verylongfilename: file name too long

     The name of the compressed file with .z must not exceed the maximum
     possible name length in the file system (NAMEMAX).

     pcat: file: cannot open

     You have no read permission for file, or file does not exist.

     pcat: file.z: not in packed format

     Although file.z has the .z suffix, it is not the result of a previous
     pack call.

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

pcat(1)                                                             pcat(1)

EXAMPLES
     Example 1

     The file readme is printed with cat, compressed with pack, and then
     output again with pcat. Since readme is too small for compression to
     be meaningful, pack is invoked with the -f option.

     $ cat readme
     I have still not been compressed!

     $ pack -f readme
     pack: readme: -47.1% Compression

     $ pcat readme.z
     I have still not been compressed!

     Example 2

     An uncompressed copy of the packed file comp.z is to be made under the
     name uncomp.

     $ pcat comp >uncomp

SEE ALSO
     cat(1), pack(1), unpack(1), zcat(1).





























Page 2                       Reliant UNIX 5.44                Printed 11/98

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