Source-Changes-D archive

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

Re: CVS commit: src/external/historical/nawk/bin



On Sun, Jul 03, 2022 at 22:55:48 +0300, Valery Ushakov wrote:

> On Sun, Jul 03, 2022 at 10:56:22 +0000, Roland Illig wrote:
> 
> > Module Name:	src
> > Committed By:	rillig
> > Date:		Sun Jul  3 10:56:22 UTC 2022
> > 
> > Modified Files:
> > 	src/external/historical/nawk/bin: awk.1
> > 
> > Log Message:
> > awk.1: remove trailing space in output of 'echo' example program
> 
> This is cure worse than the desease.  Please revert.

PS: BTW, you also eliminated the "exit" at the end of the BEGIN
action.  This is not specified by POSIX and happens to work on all
major three - nawk, mawk, gawk, though only gawk seems to document
this and only in the info file, not its man page (though its man page
has exampes that rely on this behaviour).

E.g. solaris /usr/bin/awk will still wait for input to consume and
discard it.

-uwe


Home | Main Index | Thread Index | Old Index