$ 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 script | Cases | GNU | Trinix |
|---|---|---|---|
misc/tsort.pl | 9 | pass | pass |
misc/join.pl | 74 | pass | pass |
cut/cut.pl | 326 | pass | fail: 3 cases |
wc/wc.pl | 15 | pass | pass |
wc/wc-files0-from.pl | 12 | pass | fail: 6 cases |
head/head.pl | 63 | pass | pass |
head/head-elide-tail.pl | 12 | pass | pass |
sort/sort.pl | 453 | pass | pass |
sort/sort-merge.pl | 9 | pass | pass |
sort/sort-files0-from.pl | 12 | pass | pass |
uniq/uniq.pl | 513 | pass | pass |
misc/basename.pl | 31 | pass | fail |
misc/dirname.pl | 15 | pass | fail |
tr/tr.pl | 132 | pass | pass |
misc/base64.pl | 0 | skipped | skipped |
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 -aprintsa-a, GNU printsa), 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.
| Locale | Region | Exact match | Same exit status | Same output |
|---|---|---|---|---|
en_US.UTF-8 | USA | 48 / 52 | 52 / 52 | 52 / 52 |
en_IN.UTF-8 | India (English) | 48 / 52 | 52 / 52 | 52 / 52 |
de_DE.UTF-8 | Europe (Germany) | 48 / 52 | 52 / 52 | 52 / 52 |
C | POSIX | 48 / 52 | 52 / 52 | 52 / 52 |
C.utf8 | POSIX, UTF-8 | 48 / 52 | 52 / 52 | 52 / 52 |
| Total | 240 / 260 | 260 / 260 | 260 / 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.
| Commands | Difference |
|---|---|
All commands | The --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, vdir | C-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. |
sort | Abbreviated 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. |
shuf | The random generator differs, so the output order does not match GNU. Distribution, resource and signal behaviour are not exhaustively tested. |
date | The 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. |
basename | A 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. |
dirname | The missing-operand message differs from GNU. |
head | An invalid line count, such as -n bad, gives a different error message (with the same exit status). |
cut | With -s -d: -f1, a last line that has no newline and ends with the delimiter (for example a:1 then b:) gives different output. |
wc | With --files0-from, the error messages differ for an extra operand, a missing list file, a - entry read from standard input and empty file names. |
tee | Abbreviated values for --output-error are not accepted. |
cp | Some 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, mknod | SMACK is not supported. Live SELinux policy and context behaviour are not fully checked. |
rm | Extremely 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. |
realpath | Exceptionally long chains of symbolic links can be rejected once the loop-detection data reaches 32 MiB. |
stdbuf | Its helper library is looked for next to the program; GNU also searches other places. |
csplit | A regular-expression search span larger than 2 GiB (INT32_MAX bytes) is rejected. |
ptx | Regular-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. |
nl | An empty-to-short section-delimiter corner case follows the manual rather than what GNU actually does. |
od | Some 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. |
expr | One collation-error case differs from GNU. Stateful encodings are not yet checked. |
seq | One tested case, a sub-unit step with a comma as the decimal point, finishes where GNU 9.4 loops forever. This difference is intentional. |
factor | GNU's undocumented debug output differs. Extreme primes and streams are not yet checked. |
cksum, md5sum, sha*sum | Linux'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, kill | These 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:
| Commands | Not yet confirmed |
|---|---|
All commands | Every 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, sync | Complete equivalence on every filesystem, across mount points, with unusual metadata, privileges, races and injected failures. Some formatting and quoting in messages also differ. |
stty, tty | Physical serial devices, uncommon line disciplines and every terminal combination. |
id, groups, users, who, pinky, logname, chroot | Every kind of live login session, external account service, DNS, credentials and privileged environment. |
chcon, runcon, id -Z | Live SELinux policy enforcement and every security-context combination. |
nice, hostname, date, chroot | Every privileged action: priorities, setting the host name or clock, and changing the root directory. |
tail | Races 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, tsort | Further 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, mktemp | Wider locale, resource, file-descriptor, signal, preload and filesystem combinations beyond the selected checks. |
Platform | Linux 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.