bug-textutils
[Top][All Lists]
Advanced

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

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


From: Haakon Riiser
Subject: textutils 2.[01]: "fmt --prefix=TAB" doesn't work
Date: Sat, 29 Mar 2003 02:59:27 +0100
User-agent: Mutt/1.4i

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

-- 
 Haakon




reply via email to

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