]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
doc: mention join bug
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 11 Jan 2024 01:45:34 +0000 (17:45 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 11 Jan 2024 01:46:11 +0000 (17:46 -0800)
* doc/autoconf.texi: Mention BSD ‘join’ bug
<https://lists.gnu.org/r/bug-gnulib/2024-01/msg00028.html>.

doc/autoconf.texi

index f3ef59e2ccf207ac71b159da68d8287eb8cc881a..bcd35195801459728320dfe0be6643e34a107658 100644 (file)
@@ -19705,6 +19705,11 @@ On NetBSD, @command{join -a 1 file1 file2} mistakenly behaves like
 @command{join -a 1 -a 2 1 file1 file2}, resulting in a usage warning;
 the workaround is to use @command{join -a1 file1 file2} instead.
 
+On some circa-2020 BSD-based systems @command{join} mishandles inputs
+with missing fields.  For example, an empty line is not treated as
+containing an empty join field.  As a workaround, input lines should
+always have a join field.
+
 On platforms with the BusyBox tools, the @command{join} command is
 entirely missing.  As a workaround, you can simulate special cases of the
 @command{join} command using an @command{awk} script.  For an example,