Results 1 to 2 of 2
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 ...
- 04-01-2007 #1Just Joined!
- Join Date
- May 2005
- Posts
- 22
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.
- 04-01-2007 #2Linux Engineer
- Join Date
- Apr 2006
- Location
- Saint Paul, MN, USA / CentOS, Debian, Solaris, SuSE
- Posts
- 1,117
Hi.
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, drlWelcome - 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 )


Reply With Quote