Other Ways to Get Disk Space
utility, and other utilities like
, save space by
squeezing text into a form that you can't read without uncompressing.
If a file has lots of spaces in it - for example, columns with lots of
space between them, or lines that are indented - you may be able to save
space and keep the file readable too.
Do that by changing the spaces to TAB characters with
If it's not on your system, get it from the CD-ROM.
How does it work?
introduces TAB handling on UNIX.
Each TAB character can replace as many as eight space characters.
only changes spaces to TABs at the left
option, it changes spaces wherever it can (without
changing the column positions of any text, of course).
listings of a file before and after
ing will tell you how much
you've saved; the amount will vary file by file.
There are a few gotchas:
Your screen might not have tabstops every eight characters, so use
to send an
ed file to your screen;
be sure the file looks the same as it did when it had spaces.
If you're sending the file to someone else, that person may have
screen problems too.
You might want to
the TABs before you send the file.
Editing a file with TABs can be tough.
before editing and
when you're done.