aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/cmp/cmp.1
Commit message (Collapse)AuthorAgeFilesLines
* usr.bin: Remove ancient SCCS tags.Warner Losh2023-11-271-2/+0
| | | | | | | | Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a perl script. Sponsored by: Netflix
* Remove $FreeBSD$: one-line nroff patternWarner Losh2023-08-161-1/+0
| | | | Remove /^\.\\"\s*\$FreeBSD\$$\n/
* cmp: add -b, --print-bytesKyle Evans2021-09-291-1/+4
| | | | | | | | This is compatible with GNU cmp. Reviewed by: bapt, markj (earlier version) Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D32074
* cmp: add -i, --ignore-initial, an alternative to skip1/skip2 argsKyle Evans2021-09-291-0/+19
| | | | | | | | This is compatible with GNU cmp. Reviewed by: markj Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D32073
* cmp: add -n, --bytes to limit number of bytes to compareKyle Evans2021-09-291-0/+6
| | | | | | | | This is compatible with GNU cmp. Reviewed by: markj Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D32072
* cmp: accept SI suffixes for skip1 and skip2Kyle Evans2021-09-291-1/+15
| | | | | | | | This is compatible with GNU cmp. Reviewed by: bapt (earlier version), markj, imp Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D32071
* cmp(1): Add EXAMPLES sectionFernando ApesteguĂ­a2020-06-201-7/+16
| | | | | | | | | Add a small number of examples depicting the use of -l, -z and byte offsets Approved by: 0mp@ Notes: svn path=/head/; revision=362434
* cmp(1): Add EXAMPLES sectionFernando ApesteguĂ­a2020-06-161-1/+35
| | | | | | | | | | Add simple examples showing the use of -l, -z, stdin and offsets Approved by: bcr@ Differential Revision: https://reviews.freebsd.org/D25280 Notes: svn path=/head/; revision=362229
* cmp(1): Provide some long optionsKyle Evans2018-05-021-3/+3
| | | | | | | | | | | | | These match GNU cmp(1) for compatibility where applicable. Future work might implement the -i option from GNU cmp(1) to express skip either in terms of both files or of the form "SKIP1:SKIP2" rather than specifying them as additional arguments to cmp(1). MFC after: 1 month Notes: svn path=/head/; revision=333157
* Renumber copyright clause 4Warner Losh2017-02-281-1/+1
| | | | | | | | | | | | Renumber cluase 4 to 3, per what everybody else did when BSD granted them permission to remove clause 3. My insistance on keeping the same numbering for legal reasons is too pedantic, so give up on that point. Submitted by: Jan Schaumann <jschauma@stevens.edu> Pull Request: https://github.com/freebsd/freebsd/pull/96 Notes: svn path=/head/; revision=314436
* Bump .Dd for recent changeEitan Adler2013-11-181-1/+1
| | | | Notes: svn path=/head/; revision=258329
* Indicate which options are extensions to POSIX.Eitan Adler2013-11-181-0/+6
| | | | | | | Inspired by: DragonFlyBSD Notes: svn path=/head/; revision=258326
* Remove the advertising clause from UCB copyrighted files in usr.bin. ThisJoel Dahl2010-12-111-4/+0
| | | | | | | | | | | | is in accordance with the information provided at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change Also add $FreeBSD$ to a few files to keep svn happy. Discussed with: imp, rwatson Notes: svn path=/head/; revision=216370
* Refine markup and add the EXIT STATUS section where appropriate.Ruslan Ermilov2006-12-191-4/+4
| | | | Notes: svn path=/head/; revision=165345
* -mdoc sweep.Ruslan Ermilov2005-11-181-2/+2
| | | | Notes: svn path=/head/; revision=152568
* Add a -h option to tell cmp not to follow symbolic links.Brian Somers2005-08-231-1/+3
| | | | | | | | MFC after: 3 weeks Sponsored by: Sophos/ActiveState Notes: svn path=/head/; revision=149388
* Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/Jens Schweikhardt2002-12-301-1/+1
| | | | | | | Add FreeBSD Id tag where missing. Notes: svn path=/head/; revision=108470
* Remove whitespace at EOL.Dima Dorfman2001-07-151-2/+2
| | | | Notes: svn path=/head/; revision=79755
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-7/+7
| | | | Notes: svn path=/head/; revision=68963
* Add the -z flag to check file sizes firstBrian Somers2000-07-141-1/+5
| | | | | | | | | | Correct the cmp.1 usage message Correct the -l/-s incompatibility message Submitted by: Mark Knight <markk@knigma.org> Notes: svn path=/head/; revision=63157
* Let cmp(1) grow in -x option to print differences in contemporarry hexPoul-Henning Kamp2000-05-151-0/+5
| | | | | | | format rather than the mixed decimal/octal format of -l. Notes: svn path=/head/; revision=60583
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50477
* "EOF of file..." is written to stderr and not stdout.Steve Price1998-05-261-2/+2
| | | | | | | PR: 6756 Notes: svn path=/head/; revision=36385
* Correct usage string. Program name converted to bold in man page.Philippe Charnier1997-06-261-4/+6
| | | | Notes: svn path=/head/; revision=26957
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=23012
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* [HISTORY] command appeared in Version 1 AT&T UNIXWolfram Schneider1996-08-291-0/+6
| | | | | | | Obtained from: A Quarter Century of UNIX, Peter H. Salus, page 41 Notes: svn path=/head/; revision=17891
* BSD 4.4 Lite Usr.bin SourcesRodney W. Grimes1994-05-271-0/+107
Notes: svn path=/cvs2svn/branches/CHRISTOS/; revision=1590