Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Smile PCAT command replacement in Linux

    In AT&T Unix, Sun Solaris, there is a console command "pcat" for Huffman compression.
    This command is used in "man" command.
    Unfortunately there is no such command in Linux.
    (this command is NOT related to TCT package).

    gzip/gunzip are command for Huffman compression.
    Is it possible to replace "pcat" command with bash scripts using "gzip/gunzip" command?
    Thank you.

  2. #2
    Linux Engineer drl's Avatar
    Join Date
    Apr 2006
    Saint Paul, MN, USA / CentOS, Debian, Slackware, {Free, Open, Net}BSD, Solaris

    I have used gzcat on files compressed with /bin/pack on Solaris 8. It appears that gzcat looks at the file content (magic number) and not the filename, so it probably works with most compression schemes ... cheers, drl
    Welcome - get the most out of the forum by reading forum basics and guidelines: click here.
    90% of questions can be answered by using man pages, Quick Search, Advanced Search, Google search, Wikipedia.
    We look forward to helping you with the challenge of the other 10%.
    ( Mn, 2.6.n, AMD-64 3000+, ASUS A8V Deluxe, 1 GB, SATA + IDE, Matrox G400 AGP )

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts