bug#25870: give an example to show what lines join -a and -v are talking about

2017-02-25 Thread 積丹尼 Dan Jacobson
In (info "(coreutils) join invocation")

‘-a FILE-NUMBER’
 Print a line for each unpairable line in file FILE-NUMBER (either
 ‘1’ or ‘2’), in addition to the normal output.

OK but say if we can use both: -a 1 -a 2? (Answer: yes)
And if so how to tell which lines are from which file (Answer: by their content 
only).

‘-v FILE-NUMBER’
 Print a line for each unpairable line in file FILE-NUMBER (either
 ‘1’ or ‘2’), instead of the normal output.

OK but say if we can use both: -v 1 -v 2?
And if so how to tell which lines are from which file.

And in fact give an example to show what lines -a and -v are talking about!





bug#25871: give plain join example first

2017-02-25 Thread 積丹尼 Dan Jacobson
In (info "(coreutils) join invocation")

   If the input has no unpairable lines, a GNU extension is available;

(shouldn't that ";" be ":"?)


the sort order can be any order that considers two fields to be equal if
and only if the sort comparison described above considers them to be
equal.  For example:

 $ cat file1...

OK, but perhaps in the previous paragraph give a mundane regular
example of join usage, instead of the first example be this special
exception.