NetBSD-Bugs archive

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

Re: bin/52710: Error in vis(1) manpage



The following reply was made to PR bin/52710; it has been noted by GNATS.

From: Thomas Klausner <tk%giga.or.at@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: Christos Zoulas <christos%zoulas.com@localhost>
Subject: Re: bin/52710: Error in vis(1) manpage
Date: Mon, 13 Nov 2017 15:28:15 +0100

 On Thu, Nov 09, 2017 at 05:20:00PM +0000, jamie%dyslexicfish.net@localhost wrote:
 > >Number:         52710
 > >Category:       bin
 > >Synopsis:       Error in vis(1) manpage
 
 I wonder if this is a bug in vis.c instead.
 
                 case 'F':
                         if ((foldwidth = atoi(optarg)) < 5) {
                                 errx(1, "can't fold lines to less than 5 cols");
                                 /* NOTREACHED */
                         }
                         markeol++;
                         break;
                 case 'f':
                         fold++;         /* fold output lines to 80 cols */
                         break;          /* using hidden newline */
 
 Perhaps this should be "fold++" instead of "markeol++".
  Thomas
 


Home | Main Index | Thread Index | Old Index