piping binary files

tom rohling trohling at uceng.UC.EDU
Sat Mar 3 17:21:40 AEST 1990


    When I do this:


zcat foo.dat | foo


    I get this response:


sue: unformatted io not allowed
apparent state: unit 5 named 
last format: list io
lately reading sequential unformatted external IO


    Now, foo.dat.Z is a compressed unformatted binary file, and foo is 
    reading from unit 5 like:


READ(5) LPO,RPO,BPO,TPO


    Am I not allowed to pipe this type of data?  If foo.dat.Z is a compressed
    ascii file, of course everything works fine.

    To remove any possibility that the fact things are compressed has 
    anything to do with it, I uncompressed it and tried piping and I get the
    same error.
 
    I am trying to keep away from uncompressing the file to begin with and this
    has been a pretty good way of doing it - for compressed ascii files -.

    Is there a known fix or am I SOL?


Tom Rohling
trohling at uceng.uc.edu



More information about the Comp.sys.sgi mailing list