| #
1.5 |
|
22-Feb-2025 |
gutteridge |
t_cut.sh: correct a test case for -n (PR bin/59029)
The test case added before was based on how a version of GNU coreutils cut(1) -- as patched by Red Hat to accept this flag -- behaved, but in fact it, and OpenBSD's implementation, too, doesn't distinguish between -c and -b -n, which doesn't align with the meaning/implementation used in commercial Unix variants that originally offered -n (e.g., Solaris and Tru64).
The new version of the test case clearly illustrates the differences between interpretations of this flag (Solaris, FreeBSD, RHEL/Fedora, OpenBSD).
|