[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: unexpand
From: |
Bob Proulx |
Subject: |
Re: unexpand |
Date: |
Fri, 2 Aug 2002 23:27:29 -0600 |
User-agent: |
Mutt/1.4i |
Soeren M Soerries <address@hidden> [2002-07-31 09:53:45 +0200]:
> > 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?
It would seem to me that unexpand is okay.
> 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)
You will have to help us out here. We can't see into your system.
What is the content of your /etc/fstab file? Is it possible to
provide one line out of your file that illustrates how this does not
work? Perhaps pipe that one line through od -c so that we know for
sure what and where the whitespace is? (Mailers have been notoriously
broken without regards to whitespace and I fear it won't survive a
mailing correctly.)
Bob
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: unexpand,
Bob Proulx <=