NetBSD-Bugs archive

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

Re: bin/57252: wc



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

From: RVP <rvp%SDF.ORG@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: bin/57252: wc
Date: Fri, 3 Mar 2023 11:21:21 +0000 (UTC)

 On Thu, 2 Mar 2023, Martin Husemann wrote:
 
 > One could argue to use a different format without the width specifier
 > if only a single datum is requested, like:
 >
 > 	const char *wcformat = WCFMT_WITH_SPACES;
 > 	if (doline + doword + dobyte + dochar + dolongest == 1)
 > 		wcformat = WCFMT_NO_SPACES;
 >
 
 Yep. I agree.
 
 -RVP
 


Home | Main Index | Thread Index | Old Index