Module Name: src Committed By: gutteridge Date: Sat Feb 22 23:38:09 UTC 2025
Modified Files: src/tests/usr.bin/cut: t_cut.sh Log Message: 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). To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/tests/usr.bin/cut/t_cut.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.