bug-textutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug: unexpand (textutils-2.1)


From: Bob Proulx
Subject: Re: Bug: unexpand (textutils-2.1)
Date: Wed, 8 Jan 2003 23:15:04 -0700
User-agent: Mutt/1.4i

wiregauze <address@hidden> [2003-01-07 00:09:42 -0800]:
> 1.
> It converts all spaces (not just the initial ones) to
> tabs even without '-a' option.

Thanks for the report.  But I cannot recreate your problem.  Can you
submit a test case that illustrates this problem?  Something like this
perhaps?

  printf "\t1\t2\n" | expand | od -c -tx1
  0000000                                   1                            
          20 20 20 20 20 20 20 20 31 20 20 20 20 20 20 20
  0000020   2  \n

  printf "\t1\t2\n" | expand | unexpand | od -c -tx1
  0000000  \t   1                               2  \n
          09 31 20 20 20 20 20 20 20 32 0a

  printf "\t1\t2\n" | expand | unexpand -a | od -c -tx1
  0000000  \t   1  \t   2  \n
          09 31 09 32 0a

As you can see this works here.

> P2-400 / Gentoo 1.4-rc2 / kernel 2.4.19

Could you supply the version of expand that you are using?  The
versions of the software that you supplied matter not.  It is the
version of the expand and unexpand programs that are in question.

  expand --version

Bob




reply via email to

[Prev in Thread] Current Thread [Next in Thread]