[prev in list] [next in list] [prev in thread] [next in thread] 

List:       coreutils-bug
Subject:    coreutils 5.0, "fmt -c -72" fails
From:       Keith Thompson <kst () cts ! com>
Date:       2003-04-30 20:13:32
Message-ID: 20030430131331.A84572 () king ! cts ! com
[Download RAW message or body]

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) kst@cts.com  <http://www.ghoti.net/~kst>
San Diego Supercomputer Center           <*>  <http://www.sdsc.edu/~kst>
Schroedinger does Shakespeare: "To be *and* not to be"



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic