13e466472f7229ee11e8b314043820ec8e9ec00e — Drew DeVault 1 year, 2 months ago 35f0a17
comm(1): document unspecified behavior
1 files changed, 10 insertions(+), 0 deletions(-)

M doc/comm.1.scd
M doc/comm.1.scd => doc/comm.1.scd +10 -0
@@ 31,6 31,16 @@ All lines in both files must be pre-sorted character-wise.
	Suppress the output of lines common to both files.


The POSIX standard does not unambiguously specify the behavior of this command
under certain conditions. Under such conditions, the ctools implementation of
*comm* behaves as follows:

- If either file is not sorted, *comm* exits with an error.
- If both _file1_ and _file2_ refer to standard input or to the same FIFO
  special, block special, or character special file, *comm* exits with an error.


This command is part of ctools and is compatible with POSIX-1.2017, and may