Module Name: src Committed By: gutteridge Date: Tue Mar 4 03:54:19 UTC 2025
Modified Files: src/usr.bin/cut: cut.1 cut.c Log Message: cut(1): implement the -n option (for use with -b) This command had long advertised the existence of -n (in its usage message and man page) but had never implemented it. Here we borrow the implementation written by Tim J. Robbins for FreeBSD, which provides most code changes and almost all documentation changes applied here. We also borrow some options handling simplifications from OpenBSD, with some minor tweaks to code and documentation by me. Addresses PR bin/59029. This is a pretty obscure feature, it seems, so it's unlikely it will be pulled up to stable branches. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/usr.bin/cut/cut.1 cvs rdiff -u -r1.30 -r1.31 src/usr.bin/cut/cut.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.