bug-coreutils
[Top][All Lists]
Advanced

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

coreutils 5.0, "fmt -c -72" fails


From: Keith Thompson
Subject: coreutils 5.0, "fmt -c -72" fails
Date: Wed, 30 Apr 2003 13:13:32 -0700
User-agent: Mutt/1.2.5i

The help message for the fmt command says:

In -wNUMBER, the letter `w' may be omitted.

This doesn`t work if the "-NUMBER" option is the last of two or more
options:
========================================================================
% uname -a
SunOS elmak 5.8 Generic_108528-14 sun4u sparc SUNW,Sun-Blade-100 Solaris
% fmt --version
fmt (coreutils) 5.0
Written by Ross Paterson.

Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
% echo This is ok | fmt -72 -c
This is ok
% echo This is ok | fmt -c -w72
This is ok
% echo This fails | fmt -c -72
Try `fmt --help' for more information.
========================================================================

Incidentally, you'll find another copy of this bug report in the archives
for the bug-gnu-utils mailing list for 1997-05-23.

-- 
Keith Thompson (The_Other_Keith) address@hidden  <http://www.ghoti.net/~kst>
San Diego Supercomputer Center           <*>  <http://www.sdsc.edu/~kst>
Schroedinger does Shakespeare: "To be *and* not to be"




reply via email to

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