[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: unexpand
From: |
Soeren M Soerries |
Subject: |
Re: unexpand |
Date: |
Wed, 31 Jul 2002 09:53:45 +0200 |
Hello Bob,
thank your for the quick answer and the test example.
address@hidden (Bob Proulx) schreibt:
> Soeren M Soerries <address@hidden> [2002-07-30 10:36:40 +0200]:
> > "unexpand -t8" works fine. That's supposed to be the
> > default, but without the "-t" switch it doesn't work
> > at all. Funny, isn't it?
> Thanks for your report. But I am unable to recreate your problem.
> See the included test cases. What do these commands do for you?
> type unexpand
> unexpand is /usr/bin/unexpand
> echo " " | unexpand | od -c
> 0000000 \t \n
> echo " " | env -i unexpand | od -c
> 0000000 \t \n
they work, just the same. So it seems unexpand is ok?
Try another one. My /etc/fstab holds tab-separated
values.
expand /etc/fstab > fstab.out # now spaces.
# (ok)
unexpand fstab.out > fstab.out.unexpd # still spaces :(
# bug.
unexpand -t8 fstab.out > fstab.out.unexpd # tabs again!
# (ok)
Cheers, Sören
> > address@hidden:~> unexpand --version
> > unexpand (GNU textutils) 2.0.10
> > Geschrieben von David MacKenzie.
> >
> > Copyright (C) 2000 Free Software Foundation, Inc.
> > [...]
--
Sören M Sörries http://Spuk.de/s/
- unexpand, Soeren M Soerries, 2002/07/30
- Re: unexpand, Bob Proulx, 2002/07/30
- Re: unexpand,
Soeren M Soerries <=