[Top][All Lists]

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

Re: textutils 2.[01]: "fmt --prefix=TAB" doesn't work

From: Bob Proulx
Subject: Re: textutils 2.[01]: "fmt --prefix=TAB" doesn't work
Date: Sat, 29 Mar 2003 11:54:32 -0700
User-agent: Mutt/1.3.28i

Thanks for the very nicely written report!

Haakon Riiser wrote:
> fmt does not allow prefix strings starting with tab characters.
> I know that tabs are special in that they are expanded on input,
> but it doesn't look like that's the reason why this is broken
> because prefix strings may contain tabs, provided the prefix
> string doesn't start with one.


> Steps to reproduce:
>   $ fmt --prefix=TAB <<EOF
>   TABfoo
>   TABbar
>   EOF
> The correct output should be
>   TABfoo bar
> but fmt returns
>   foo
>   bar

Thanks for that very nicely crafted example.  But I can't reproduce
the problem using either the older fmt from textutils or the fmt from
the newest coreutils.  It works for me.

  fmt --prefix=TAB <<EOF
  > TABfoo
  > TABbar
  > EOF
  TABfoo bar

What version of fmt are you using?

  fmt --version

If possible could you try one of the newer versions?  Please try the
latest version you find here.

  (coreutils is the union of fileutils, textutils, and sh-utils)


reply via email to

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