The SYNOPSIS section of join(1) and the usage() function in join.c indicate that you can invoke it as "join -a 2" (for example), which does not work due to hacks added to make obsolete syntax work. Fix: This patch corrects the documentation. According to the SUSV3 standard, we should accept both -a2 and -a 2, and error when -a is used without an argument, however. The POSIX.2 conformance claim may also need to be removed from the manual page. How-To-Repeat: join -a 2 foo bar
State Changed From-To: open->patched Committed.
On Fri, Apr 19, 2002 at 07:02:15PM -0700, tjr@FreeBSD.org wrote: > Synopsis: join(1) SYNOPSIS and usage() are misleading > > State-Changed-From-To: open->patched > State-Changed-By: tjr > State-Changed-When: Fri Apr 19 19:01:45 PDT 2002 > State-Changed-Why: > Committed. I neglected to mention that the fix I committed was not the one suggested in the PR, but rather the opposite. Instead of changing the synopsis to point out that there must be no space between -a and its argument, I made it accept it with a space (per SUSv3).
State Changed From-To: patched->closed Change has been MFC'd.