On Mar 19, 2001, Akim Demaille <[EMAIL PROTECTED]> wrote:

> Anyway, we really need to know how to create portably empty files, we
> use it at other places IIRC.

Do we?  IIRC, there are filesystems that don't support zero-sized
files.  So we shouldn't depend on it, and we shouldn't depend on being
able to create empty files.

In this particular case, I suppose we can just create an
one-empty-line file with `echo > empty', then `cat empty >> whatever'
before comparing whatever with empty.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

Reply via email to