comm requires lexicographic sort (plain sort ), not numeric sort ( sort -n ). For example, it wants the following order: 1 2000 300. Not the following order:
( sort -o file1 file1 & sort -o file2 file2 & wait comm file1 file2 )
+\)(default)#\1\n\1\/\2#; s#/(default)##g; s#/*$##g;' ++++ /usr/bin/modulecmd bash -t avail comm: file 1 is not in sorted order ++ compgen -W ...
Per the comm manual, "Before `comm' can be used, the input files must be sorted using
comm --check-order file1 file2 aa bb cc dd xx comm: file 2 is not in sorted order.
The Linux comm command makes it easy to compare files or the contents of
comm --nocheck-order file1 file2.
2. Using – -check-order option : This option is used to check whether the input files are sorted or not and in case if either of the two files are ...
MVSNetwork.run.lock SO I KNOW ITS CLOSE, but not there yet.
These small commands are not so known, but i think they can do