On 06/19/2017 09:47 PM, J William Piggott wrote:>
On 06/19/2017 03:03 PM, Ruediger Meier wrote:
On Monday 19 June 2017, J William Piggott wrote:
On 06/19/2017 05:55 AM, Ruediger Meier wrote:
On Monday 19 June 2017, Karel Zak wrote:
On Mon, Jun 19, 2017 at 11:22:48AM +0200, Ruediger Meier wrote:
-->8
On a related note: could we add USAGE_*_NN with no trailing newline
for use with puts() on new/converted commands? For example:
#define USAGE_HEADER _("\nUsage:\n")
#define USAGE_HEADER_NN _("\nUsage:")
My plan is to remove the trailing newline from USAGE_HEADER and friends
when no usage() funtion needs to use fputs() anymore.
I got the impression from the other discussion that legacy apps would
continue to use fputs() so that their strings would not have to be
modified. But I guess they won't need to use it for USAGE_*, if that is
what you mean.
Removing the trailing newline from USAGE_* will mean changing
fputs(USAGE_*) to puts(USAGE_*) in every command project wide, yes?
I don't know yet. I thought we could do the next huge cosmetic puts patch
semi-automatic in UL and also in the translation project. I will figure
out after this first step of boring work is done. ;)
cu,
Rudi
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html