luke_airig
asked on
gzipped/compressed files as input to
i want to comm or diff two files that are gzipped and i am pressed for space. is there any way to 'gunzip -c' the files and pipe them directly to comm or diff?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
which pipes a.gz to -, but uncompresses b.gz to a temp file
ozo, where did you find this information? I'm interested too :-)
cat `which zdiff`
Also, running it and seeing:
- /tmp/b differ: char n, line m
gives a clue
(if that's what ahoffmann is asking)
Also, running it and seeing:
- /tmp/b differ: char n, line m
gives a clue
(if that's what ahoffmann is asking)
It's so easy: just reading what's written :-))
Thanx ozo.
luke_airig, sorry but I think my answer doesn't solve your problem :-(
Thanx ozo.
luke_airig, sorry but I think my answer doesn't solve your problem :-(
It solves half the problem.
Which may be enough...
(But surely there must be a utility somewhere
to connect two /dev/pipe devices together?)
Which may be enough...
(But surely there must be a utility somewhere
to connect two /dev/pipe devices together?)
It solves half the problem.
Which may be enough...
(But surely there must be a utility somewhere
to connect two /dev/pipe devices together?)
Which may be enough...
(But surely there must be a utility somewhere
to connect two /dev/pipe devices together?)
ASKER
ahoffman and ozo,
zdiff is exactly what i needed. thanks for your help.
zdiff is exactly what i needed. thanks for your help.
piping two may be more difficult...
perhaps you could manage to pipe to /dev/pty...