[comp.unix.programmer] data-compression in a pipe

km11hs@sbuvax.rz.uni-sb.de (Dieter Becker) (06/25/91)

I am looking for a text-compression program, which works in a pipe
I want to use this in a shell-script like:
    tar cvf - xyz | "*compression*" | rcp xxxx
Do You know a PD-source / program? 
Thanks 
Dieter Becker
********************************************************************************
* Dr. med. dipl.-math Dieter Becker          ** Tel.: (0 / +49) 6841 - 16 3046 *
* Medizinische Universitaets- und Poliklinik ** Fax.: (0 / +49) 6841 - 16 3369 *
* Innere Medizin III                         ***********************************
* D - 6650 Homburg / Saar                    ** email:                         *
*                                            ** becker@sbuvax.cs.uni-sb.de     *
********************************************************************************

gdtltr@brahms.udel.edu (gdtltr@limbo.org (The Befuddled One)) (06/25/91)

In article <11595@sbsvax.cs.uni-sb.de> km11hs@sbuvax.rz.uni-sb.de (Dieter Becker) writes:
=>I am looking for a text-compression program, which works in a pipe
=>I want to use this in a shell-script like:
=>    tar cvf - xyz | "*compression*" | rcp xxxx
=>Do You know a PD-source / program? 
=>Thanks 
=>Dieter Becker

   compress should work fine (at least under SunOS).

                                        Gary Duzan
                                        Time  Lord
                                    Third Regeneration



-- 
                            gdtltr@brahms.udel.edu
   _o_                      ----------------------                        _o_
 [|o o|]                   To be is to be networked.                    [|o o|]
  |_o_|        Disclaimer: I have no idea what I am talking about.       |_o_|

jpm@logixwi.uucp (Jan-Piet Mens) (06/25/91)

km11hs@sbuvax.rz.uni-sb.de (Dieter Becker) writes:

>I am looking for a text-compression program, which works in a pipe
>I want to use this in a shell-script like:
>    tar cvf - xyz | "*compression*" | rcp xxxx
>Do You know a PD-source / program? 

	How about
	  tar cf - xyz | compress | rcp xxx

	using compress(1)
>Thanks 
	Welcome!
-- 
Jan-Piet Mens, Logix GmbH				    jpm@logixwi.UUCP
Moritzstr. 50, D-6200 Wiesbaden            ...!uunet!mcsun!unido!logixwi!jpm

peter@ficc.ferranti.com (Peter da Silva) (06/26/91)

In article <11595@sbsvax.cs.uni-sb.de> km11hs@sbuvax.rz.uni-sb.de (Dieter Becker) writes:
> I am looking for a text-compression program, which works in a pipe

The normal "compress" program from comp.sources works in a pipeline.
-- 
Peter da Silva; Ferranti International Controls Corporation; +1 713 274 5180;
Sugar Land, TX  77487-5012;         `-_-' "Have you hugged your wolf, today?"

andyc@bucky.intel.com (Andy Crump) (06/27/91)

>>>>> On 25 Jun 91 12:36:26 GMT, km11hs@sbuvax.rz.uni-sb.de (Dieter Becker) said:

Dieter> I am looking for a text-compression program, which works in a pipe
Dieter> I want to use this in a shell-script like:
Dieter>     tar cvf - xyz | "*compression*" | rcp xxxx
Dieter> Do You know a PD-source / program? 
Dieter> Thanks 
Dieter> Dieter Becker
Dieter> ********************************************************************************
Dieter> * Dr. med. dipl.-math Dieter Becker          ** Tel.: (0 / +49) 6841 - 16 3046 *
Dieter> * Medizinische Universitaets- und Poliklinik ** Fax.: (0 / +49) 6841 - 16 3369 *
Dieter> * Innere Medizin III                         ***********************************
Dieter> * D - 6650 Homburg / Saar                    ** email:                         *
Dieter> *                                            ** becker@sbuvax.cs.uni-sb.de     *
Dieter> ********************************************************************************


Yes, compress can do that.  Compress can be found on the net, in fact
compress 4.1 was just posted to alt.sources a couple of days ago.  If
you need me to send it to you just let me know.  


tar cvf - xyz | compress - | rcp xxx 

will work
--

    -- Andy Crump

    ...!tektronix!reed!littlei!andyc | andyc@littlei.intel.com
    ...!uunet!littlei!andyc          | andyc@littlei.uu.net

Disclaimer: Any opinions expressed here are my own and 
            not representive of Intel Corportation.