NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/59029 CVS commit: src/tests/usr.bin/cut
The following reply was made to PR bin/59029; it has been noted by GNATS.
From: "David H. Gutteridge" <gutteridge%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc:
Subject: PR/59029 CVS commit: src/tests/usr.bin/cut
Date: Sat, 22 Feb 2025 23:38:09 +0000
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.
Home |
Main Index |
Thread Index |
Old Index