On Mon, Jan 29, 2007 at 07:37:04PM +0100, Igor Sobrado wrote: > > As a second change, I would suggest changing the usage message > in the binary to fit on a standard 80 columns display. In short, > I propose: > > - synchronizing the usage message returned by awk(1) and the > synopsis in the manual page.
done > - splitting the usage message in two lines to fit on standard > displays. done > - put the options that do not require arguments before the > options that require arguments. hmm, this was done anyway. the usage for awk is not totally lovely, so there is some mess, but it's more or less the form of all usage(). > - optionally, remove the code that announces that -mr and -mf > are obsolete options and, as a consequence, ignored. The > standard message returned by awk(1) for non-existent options > provides ALL information required. For example: > > $ awk -g > awk: unknown option -g ignored > > awk: no program given > > From this message it is clear that "-g" is ignored because it > is an unknown option. feel free to send a diff for this. jmc