$ trinix --compat

Compatibility and test results

How closely Trinix core utilities 0.4.0 behave like GNU coreutils 9.4: what has been tested, what passed, and every difference we know about.

GNU's own tests

10 of 14 GNU test scripts pass unchanged

We ran 15 test scripts from the test suite of GNU coreutils 9.4 itself, unchanged, with only the command being tested replaced by ours. GNU passes all 14 that run. Trinix passes 10 and fails 4; one script was skipped by the test harness and ran no cases. A debug build gave exactly the same results.

A failed script does not mean every case in it failed: the four failures come down to the few cases below. This is a selection of scripts, not the whole GNU test suite, so we do not claim an overall pass rate.

GNU test scriptCasesGNUTrinix
misc/tsort.pl9passpass
misc/join.pl74passpass
cut/cut.pl326passfail: 3 cases
wc/wc.pl15passpass
wc/wc-files0-from.pl12passfail: 6 cases
head/head.pl63passpass
head/head-elide-tail.pl12passpass
sort/sort.pl453passpass
sort/sort-merge.pl9passpass
sort/sort-files0-from.pl12passpass
uniq/uniq.pl513passpass
misc/basename.pl31passfail
misc/dirname.pl15passfail
tr/tr.pl132passpass
misc/base64.pl0skippedskipped
  • cut: a last line that has no newline and ends with the delimiter gives different output (cut -s -d: -f1).
  • wc: some error messages for a bad list of file names differ (--files0-from).
  • basename: a suffix that starts with a hyphen is not removed (basename a-a -a prints a-a, GNU prints a), and some operand messages differ.
  • dirname: the message for a missing operand differs.

Tested on 2 December 2026.

Locales · exit codes

Same output and exit status in every case sampled

26 cases per locale: counting, sorting, case conversion, fields, head and tail, number formatting, the exit statuses of test and expr, invalid dates and missing files, with UTF-8 text, invalid bytes and unusual white space. Each case ran with GNU and with our release and debug builds, in five locales.

LocaleRegionExact matchSame exit statusSame output
en_US.UTF-8USA48 / 5252 / 5252 / 52
en_IN.UTF-8India (English)48 / 5252 / 5252 / 52
de_DE.UTF-8Europe (Germany)48 / 5252 / 5252 / 52
CPOSIX48 / 5252 / 5252 / 52
C.utf8POSIX, UTF-848 / 5252 / 5252 / 52
Total240 / 260260 / 260260 / 260

All 260 comparisons gave the same output and the same exit status. 240 matched exactly; the other 20 differ only in the wording of error messages from head and ls. Messages were compared in English; translated messages were not tested. This sample does not prove full support for every locale-dependent behaviour.

Known differences

Differences we know about

Having all 108 commands does not mean full GNU compatibility, and an option being accepted does not mean it behaves exactly the same. These are the differences users can see, as known today.

CommandsDifference
All commandsThe --help and --version text identifies Trinix, not GNU, on purpose. Exact informational text, translated messages and some quoting in error messages differ. Full GNU compatibility is not claimed.
ls, dir, vdirC-locale sorting, file classification, display widths and the language of dates; UTF-8 column widths, escaping and locale collation can differ. User and group names are looked up locally, without general NSS or network lookup. GNU long-option and value abbreviations, the full LS_COLORS language (including ln=target and capability colours), arbitrary POSIX daylight-saving rules, leap-second tables and future time-zone rules beyond the stored ones are incomplete. Some unusual timestamp, custom-format and filesystem-error cases differ. Limits: 262,144 entries per list or directory, 128 directory levels, 1,024 columns and 256 MiB of working memory.
sortAbbreviated option values (for an option with a fixed list of values) are not accepted. The default memory budget differs. Temporary files are not always cleaned up after a signal. Some compressor-error and resource-failure messages differ. The random generator differs, so random order does not match GNU.
shufThe random generator differs, so the output order does not match GNU. Distribution, resource and signal behaviour are not exhaustively tested.
dateThe free-form grammar of -d/--date, -f/--file and -s/--set is incomplete, including general mixing of calendar, clock, zone and relative terms. Some format flag and width combinations and --debug output differ.
du--time-style=+FORMAT and a custom TIME_STYLE differ for %ON, %Eq, %O:z, %E:z, %+Y, %+F, %+G, %+5Y, %+6Y, %_10:z, %3ON, %E% and %O%, and may differ in related combinations.
numfmt--debug, and --round/--format beyond the tested numeric precision, are partly compatible. Extreme format sizes and locale digit grouping are not yet checked.
basenameA suffix starting with a hyphen is not removed: basename a-a -a prints a-a, where GNU prints a. Messages for missing or extra operands differ.
dirnameThe missing-operand message differs from GNU.
headAn invalid line count, such as -n bad, gives a different error message (with the same exit status).
cutWith -s -d: -f1, a last line that has no newline and ends with the delimiter (for example a:1 then b:) gives different output.
wcWith --files0-from, the error messages differ for an extra operand, a missing list file, a - entry read from standard input and empty file names.
teeAbbreviated values for --output-error are not accepted.
cpSome quoting in --verbose output differs from GNU 9.4. SMACK is not supported. Live SELinux preservation, reflinks on more filesystems and every sparse-file, security, backup and race combination are not yet confirmed.
mkdir, mkfifo, mknodSMACK is not supported. Live SELinux policy and context behaviour are not fully checked.
rmExtremely deep or long paths and unusual directory replacement or races can behave differently; paths beyond about 65,535 bytes are not supported. Some allocation-failure handling for --preserve-root=all differs.
realpathExceptionally long chains of symbolic links can be rejected once the loop-detection data reaches 32 MiB.
stdbufIts helper library is looked for next to the program; GNU also searches other places.
csplitA regular-expression search span larger than 2 GiB (INT32_MAX bytes) is rejected.
ptxRegular-expression spans beyond 2 GiB are not supported. Some zero-length word or context patterns finish where GNU 9.4 can keep running; the results are not identical.
nlAn empty-to-short section-delimiter corner case follows the manual rather than what GNU actually does.
odSome dotted-offset, string-limit and mid-error behaviour differs from the manual or from GNU.
test, [Some allocation-failure messages and fallbacks, and artificial invalid-credential cases, differ. Translated messages are incomplete.
exprOne collation-error case differs from GNU. Stateful encodings are not yet checked.
seqOne tested case, a sub-unit step with a comma as the decimal point, finishes where GNU 9.4 loops forever. This difference is intentional.
factorGNU's undocumented debug output differs. Extreme primes and streams are not yet checked.
cksum, md5sum, sha*sumLinux's optional AF_ALG kernel hashing is not used. This changes how the hash is computed, not the result. Some debug messages differ.
hostname, uptime, killThese follow GNU. Extra options of the Debian hostname or procps versions are not included.

Not yet confirmed

Not yet tested

Areas where equivalence with GNU has not been established yet:

CommandsNot yet confirmed
All commandsEvery option combination, extreme sizes, memory and I/O failures, signal timing, filesystem races and device behaviour. Tests cover a finite set of cases.
mv, install, chmod, chown, chgrp, touch, ln, readlink, rmdir, link, unlink, truncate, dd, df, du, stat, syncComplete equivalence on every filesystem, across mount points, with unusual metadata, privileges, races and injected failures. Some formatting and quoting in messages also differ.
stty, ttyPhysical serial devices, uncommon line disciplines and every terminal combination.
id, groups, users, who, pinky, logname, chrootEvery kind of live login session, external account service, DNS, credentials and privileged environment.
chcon, runcon, id -ZLive SELinux policy enforcement and every security-context combination.
nice, hostname, date, chrootEvery privileged action: priorities, setting the host name or clock, and changing the root directory.
tailRaces on remote mounts, append-only files, raw block devices and live terminals in general.
head, wc, cat, cut, paste, comm, join, uniq, tac, nl, od, fmt, pr, split, csplit, ptx, tsortFurther encodings, extremely long records, unusual streams, errors and resource limits beyond the selected checks.
base32, base64, basenc, expand, unexpand, fold, dircolors, printf, echo, yes, sleep, nproc, env, nohup, timeout, pathchk, mktempWider locale, resource, file-descriptor, signal, preload and filesystem combinations beyond the selected checks.
PlatformLinux on x86-64 is the current target. Other processors and operating systems are not supported releases.

Found a difference?

Please tell us the command and its version, the exact arguments, the input, your locale, what you expected (output and exit status) and what you got. Please leave out any private data.