Both man and info documentation state that either a blank or comma can be used to separate (M.N) values in the argument to -o. It appears that only comma is now accepted. Therefore a problem seems to exist with either the documentation or the implementation.


For example:

[EMAIL PROTECTED] test]$ join --version
join (coreutils) 5.2.1
Written by Mike Haertel.

Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[EMAIL PROTECTED] test]$ cat file1
a a1
b b1
c c1

[EMAIL PROTECTED] test]$ cat file2
a a2
b b2
c c2

[EMAIL PROTECTED] test]$ join -o 1.2,2.2 file1 file2
a1 a2
b1 b2
c1 c2

[EMAIL PROTECTED] test]$ join -o 1.2 2.2 file1 file2
join: too many non-option arguments
Try `join --help' for more information.
[EMAIL PROTECTED] test]$


The last command works using join 4.5.3.

Please can you confirm whether a problem does exist and, if so, whether it is in the documentation or the implementation.

Thanks
Phil Clayton



_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to