l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2001 Dec 30 17:00

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] reading gzip'd files inline
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] reading gzip'd files inline

On Mon 19 Feb 01, 11:55 AM, Dale Bewley said: 
> Well, as far as I know the only "stream editor" is sed or a perl script of
> course. 
> Any interactive editor is going to have to buffer the whole file.

well, lots of commands can take input from stdin.  isn't that one of the
benefits of unix?  transparency in where data is coming from, since everything
is a /stream/.   whether you read in from a file or read in from stdin, it
shouldn't make a difference.  it reads streams and writes streams.

lots of stuff has nice behavior:

        echo "hello dolly" | mail p@dirac.org -s 'guys and dolls'

i was hoping to do something similar with vim (see below).

> At that point you may as well have unzipped the file to disk before
> editing it. 

not quite.  for example, i'd like to make a cd with all the howto's on
them.  of course, i'd like for them to be gziped because of the limited
amount of space.

vim provides some really nice functionality, even if i don't intend on
actually editing the file.   text markers, buffers, syntax highlighting,
etc.   all would be nice.  so i'd rather use vim than a viewer.


LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Sunset Systems
Who graciously hosts our website & mailing lists!