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.
Hmm... > 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. ftp://alpha.gnu.org/gnu/coreutils/ (coreutils is the union of fileutils, textutils, and sh-utils) Bob _______________________________________________ Bug-textutils mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-textutils