|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base netbsd-10-1-RELEASE perseant-exfatfs-base-20240630 perseant-exfatfs-base netbsd-8-3-RELEASE netbsd-9-4-RELEASE netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base netbsd-9-3-RELEASE cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 netbsd-9-2-RELEASE cjep_staticlib_x-base netbsd-9-1-RELEASE phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-8-2-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 netbsd-7-2-RELEASE pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 netbsd-7-1-2-RELEASE pgoyette-compat-base netbsd-7-1-1-RELEASE matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-7-base yamt-pagecache-base9 yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 netbsd-5-2-RELEASE netbsd-5-2-RC1 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 tls-maxphys-base matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231 matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE jym-xensuspend-nbase netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 jym-xensuspend-base netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 mjf-devfs2-base netbsd-4-0-1-RELEASE wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-fixsa-newbase wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base keiichi-mipv6-base matt-armv6-nbase matt-armv6-prevmlocking wrstuden-fixsa-base-1 netbsd-4-0-RELEASE cube-autoconf-base netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 matt-armv6-base matt-mips64-base hpcarm-cleanup-base netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE wrstuden-fixsa-base abandoned-netbsd-4-base netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-4-base netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-3-base netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
|
| 1.12 |
18-May-2003 |
lukem |
branches: 1.12.98; Now that <bsd.prog.mk> DTRT if HOSTPROG is defined (i.e, it is a no-op), there's no need to special-case .include-ing it.
|
|
Revision tags: fvdl_fs64_base
|
| 1.11 |
10-Jun-2002 |
mason |
Add wrapper around bsd.prog.mk include in preparation for this becoming a host tool.
|
|
Revision tags: netbsd-1-6-base
|
| 1.10 |
03-Nov-2001 |
lukem |
branches: 1.10.2; change from WARNS?=1 to WARNS?=2 for bin/
|
|
Revision tags: netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base
|
| 1.9 |
08-Jul-1999 |
christos |
Make this compile with WARNS = 2
|
|
Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base netbsd-1-3-PATCH003 netbsd-1-3-PATCH003-CANDIDATE2 netbsd-1-3-PATCH003-CANDIDATE1 netbsd-1-3-PATCH003-CANDIDATE0 netbsd-1-3-PATCH002 netbsd-1-3-PATCH001 netbsd-1-3-RELEASE netbsd-1-3-BETA netbsd-1-3-base
|
| 1.8 |
20-Jul-1997 |
christos |
Remove WARNS=1 from all the subdirectory Makefiles, and add it to Makefile.inc now that all /bin has been cleaned.
|
| 1.7 |
20-Jul-1997 |
thorpej |
Add WARNS.
|
|
Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
|
| 1.6 |
23-Apr-1995 |
cgd |
clean up RCS Ids slightly, etc.
|
| 1.5 |
20-Sep-1994 |
mycroft |
Merge with 4.4-Lite version.
|
|
Revision tags: netbsd-1-0-PATCH06 netbsd-1-0-PATCH05 netbsd-1-0-PATCH04 netbsd-1-0-PATCH03 netbsd-1-0-PATCH02 netbsd-1-0-PATCH1 netbsd-1-0-PATCH0 netbsd-1-0-RELEASE netbsd-1-0-base
|
| 1.4 |
01-Aug-1993 |
mycroft |
Add RCS identifiers.
|
|
Revision tags: netbsd-0-9-RELEASE netbsd-0-9-BETA netbsd-0-9-ALPHA2 netbsd-0-9-ALPHA netbsd-0-9-base netbsd-0-8 netbsd-alpha-1
|
| 1.3 |
23-Mar-1993 |
cgd |
changed "Id" to "Header" for rcsids
|
| 1.2 |
22-Mar-1993 |
cgd |
added rcs ids to all files
|
| 1.1 |
21-Mar-1993 |
cgd |
branches: 1.1.1; Initial revision
|
|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base netbsd-10-1-RELEASE perseant-exfatfs-base-20240630 perseant-exfatfs-base netbsd-9-4-RELEASE netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base netbsd-9-3-RELEASE cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 netbsd-9-2-RELEASE cjep_staticlib_x-base netbsd-9-1-RELEASE phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
|
| 1.41 |
02-Oct-2017 |
wiz |
branches: 1.41.4; Add cross reference to tac(1).
|
|
Revision tags: perseant-stdc-iso10646-base
|
| 1.40 |
04-Jul-2017 |
wiz |
Use Ex.
|
| 1.39 |
03-Jul-2017 |
wiz |
Remove workaround for ancient HTML generation code.
|
|
Revision tags: netbsd-8-3-RELEASE netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-7-2-RELEASE netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE matt-nb8-mediatek-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base tls-earlyentropy-base tls-maxphys-base
|
| 1.38 |
15-Jun-2014 |
wiz |
Bump date for previous.
|
| 1.37 |
15-Jun-2014 |
dbj |
update list of flags which are extensions to the specification
|
|
Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7
|
| 1.36 |
10-Nov-2012 |
wiz |
branches: 1.36.8; Sort options (no-argument ones first, then argument-taking ones).
|
| 1.35 |
10-Nov-2012 |
christos |
Add an option to read with a different buffer size, and document the buffer size we use. This allows us to cat -B 10000000 /proc/<pid>/maps for example which cannot handle seeking.
|
|
Revision tags: yamt-pagecache-base6
|
| 1.34 |
09-Aug-2012 |
dholland |
branches: 1.34.2; Use "e.g.", not "i.e.", to introduce an example.
|
|
Revision tags: yamt-pagecache-base5 yamt-pagecache-base4
|
| 1.33 |
06-Apr-2012 |
wiz |
Describe behaviour when no arguments are given. Add comma. Bump date.
From Bug Hunting.
|
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 netbsd-6-0-1-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231 matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE jym-xensuspend-nbase netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 jym-xensuspend-base netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 mjf-devfs2-base netbsd-4-0-1-RELEASE wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-fixsa-newbase wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base keiichi-mipv6-base matt-armv6-nbase matt-armv6-prevmlocking wrstuden-fixsa-base-1 netbsd-4-0-RELEASE cube-autoconf-base netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 matt-armv6-base matt-mips64-base hpcarm-cleanup-base wrstuden-fixsa-base netbsd-4-base
|
| 1.32 |
23-Sep-2006 |
wiz |
branches: 1.32.40; Use macro for HTML output.
|
| 1.31 |
23-Sep-2006 |
elad |
PR/16827: Giorgos Keramidas: addition of EXAMPLES section to basesrc/bin/cat.1 Applied patch, thanks!
|
|
Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE abandoned-netbsd-4-base netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-3-base netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
|
| 1.30 |
27-Aug-2003 |
junyoung |
Add missing "."
|
| 1.29 |
07-Aug-2003 |
agc |
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22249, verified by myself.
|
|
Revision tags: fvdl_fs64_base
|
| 1.28 |
25-Sep-2002 |
wiz |
New policy: New sentences start on a new line. Patches by Robert Elz <kre at munnari oz au>, with minimal changes by me.
|
| 1.27 |
03-Jul-2002 |
enami |
The el option is an extention.
|
| 1.26 |
10-Jun-2002 |
mason |
Add -l option to cat(1), as discussed on tech-userlevel. This option causes cat(1) to use fcntl(2) to set an exclusive advisory lock on stdout. While being useful in its own right, this will shortly be used to guarantee orderly writing to METALOG in the case of unprivileged builds with NBUILDJOBS > 1.
|
|
Revision tags: netbsd-1-6-base
|
| 1.25 |
15-May-2002 |
kleink |
branches: 1.25.2; Consistent wording: `regular' files, not `plain' ones; from Giorgos Keramidas in PR bin/16824.
|
| 1.24 |
08-Feb-2002 |
ross |
Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
|
| 1.23 |
20-Dec-2001 |
wiz |
Sort sections, drop unnecessary .Pps.
|
| 1.22 |
20-Dec-2001 |
wiz |
Whitespace nits.
|
| 1.21 |
04-Sep-2000 |
kleink |
For commands and utilities, use EXIT STATUS rather than RETURN VALUES as appropriate (and documented in mdoc(7)).
|
| 1.20 |
28-Aug-2000 |
hubertf |
Add 'RETURN VALUE' section header.
|
| 1.19 |
02-Aug-2000 |
jwise |
Use .At v1 macro instead of spelling out AT&T Unix version 1.
|
|
Revision tags: netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base
|
| 1.18 |
15-Jan-2000 |
christos |
branches: 1.18.4; Add a -f fflag that makes sure that we only try to read from plain files so that there is no chance to block.
|
| 1.17 |
09-Jan-2000 |
abs |
Slightly modified small fixes from Richard Rauch in PR bin/9150
|
|
Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
|
| 1.16 |
22-Mar-1999 |
garbled |
More and more .Os cleanups. .Os is defined in the tmac.doc-common file, so we shouldn't override it with versions in the manpages. Many more to come.
|
| 1.15 |
11-Mar-1999 |
fair |
Patch from PR#5156 to adjust buffer size to match filesystem block size when "-u" option used, plus some additional documentation.
|
| 1.14 |
28-Apr-1998 |
fair |
Change occurrences of "UNIX" to .Ux or .At as appropriate.
|
|
Revision tags: netbsd-1-3-PATCH003 netbsd-1-3-PATCH003-CANDIDATE2 netbsd-1-3-PATCH003-CANDIDATE1 netbsd-1-3-PATCH003-CANDIDATE0 netbsd-1-3-PATCH002 netbsd-1-3-PATCH001 netbsd-1-3-RELEASE netbsd-1-3-BETA netbsd-1-3-base
|
| 1.13 |
20-Oct-1997 |
enami |
Fix .Nm usage.
|
|
Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
|
| 1.12 |
27-Sep-1995 |
cgd |
kill an extr space in a (literally-printed) example
|
| 1.11 |
07-Sep-1995 |
jtc |
Sync with 4.4lite2
|
| 1.10 |
25-Jul-1995 |
jtc |
Use "utility" instead of "command". Modern definitions of these terms are distinct (See POSIX.2 glossary).
A utility is a executable, script or shell builtin; while a command can be any of those things plus lists, pipelines, compound commands (if, for, while) and shell function definitions.
|
| 1.9 |
21-Mar-1995 |
cgd |
convert to new RCS id conventions.
|
| 1.8 |
04-Nov-1994 |
cgd |
bugs don't get any dumber than this.
|
| 1.7 |
20-Sep-1994 |
mycroft |
Merge with 4.4-Lite version.
|
|
Revision tags: netbsd-1-0-PATCH06 netbsd-1-0-PATCH05 netbsd-1-0-PATCH04 netbsd-1-0-PATCH03 netbsd-1-0-PATCH02 netbsd-1-0-PATCH1 netbsd-1-0-PATCH0 netbsd-1-0-RELEASE netbsd-1-0-base
|
| 1.6 |
30-Nov-1993 |
jtc |
Use ".At v6" macro instead of spelling out "Version 6 AT&T UNIX".
|
| 1.5 |
16-Aug-1993 |
jtc |
Document the fact that cat is a superset of 1003.2's cat.
|
| 1.4 |
01-Aug-1993 |
mycroft |
Add RCS indentifiers.
|
|
Revision tags: netbsd-0-9-RELEASE netbsd-0-9-BETA netbsd-0-9-ALPHA2 netbsd-0-9-ALPHA netbsd-0-9-base netbsd-0-8 netbsd-alpha-1
|
| 1.3 |
23-Mar-1993 |
cgd |
changed "Id" to "Header" for rcsids
|
| 1.2 |
22-Mar-1993 |
cgd |
added rcs ids to all files
|
| 1.1 |
21-Mar-1993 |
cgd |
branches: 1.1.1; Initial revision
|
|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base perseant-exfatfs-base-20240630 perseant-exfatfs-base
|
| 1.60 |
10-Dec-2023 |
rillig |
cat: repeat storage class 'static' for local functions
No binary change.
|
| 1.59 |
07-Dec-2023 |
rillig |
cat: reduce visibility of local functions
No functional change.
|
| 1.58 |
19-May-2023 |
rillig |
cat: fix misleading indentation
Found by indent, but not by GCC 10.
No binary change.
|
|
Revision tags: netbsd-10-1-RELEASE netbsd-8-3-RELEASE netbsd-9-4-RELEASE netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base netbsd-9-3-RELEASE cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 netbsd-9-2-RELEASE cjep_staticlib_x-base netbsd-9-1-RELEASE phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-8-2-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
| 1.57 |
16-Jun-2016 |
sevan |
branches: 1.57.16; When invoked with -se, print a '$' on blank lines Obtained from OpenBSD r1.13 of src/bin/cat/cat.c
Closes PR bin/51250 Reviewed by Christos@
|
| 1.56 |
16-Jun-2016 |
sevan |
Revert previous change made by me in r1.55
|
| 1.55 |
25-Jul-2015 |
sevan |
Drop the case '?' which is defined after case 'default'. case 'default' statement introduced in the last commit to cat.c in the CSRG archive. Obtained from OpenBSD bin/cat/cat.c r1.3.
|
|
Revision tags: netbsd-7-0-2-RELEASE netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
|
| 1.54 |
08-Dec-2013 |
spz |
branches: 1.54.4; more complete fix for Coverity issue 976653
|
| 1.53 |
03-Dec-2013 |
spz |
Coverity complaint fixes: bin/cat/cat.c 976654 Argument cannot be negative (missing check for fileno result, stdout) bin/cat/cat.c 976653 Improper use of negative value (missing check for fileno result, stdin)
|
|
Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7
|
| 1.52 |
19-Nov-2012 |
christos |
only allocate if it would not fit in our buffer.
|
| 1.51 |
19-Nov-2012 |
christos |
fix bogus warning for zero-sized files.
|
| 1.50 |
10-Nov-2012 |
wiz |
Sync usage with man page.
|
| 1.49 |
10-Nov-2012 |
christos |
Add an option to read with a different buffer size, and document the buffer size we use. This allows us to cat -B 10000000 /proc/<pid>/maps for example which cannot handle seeking.
|
|
Revision tags: yamt-pagecache-base6 yamt-pagecache-base5 yamt-pagecache-base4
|
| 1.48 |
17-Mar-2012 |
christos |
branches: 1.48.2; fix signed blksize_t lossage.
|
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 netbsd-6-0-1-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231 matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE jym-xensuspend-nbase netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 jym-xensuspend-base netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2
|
| 1.47 |
20-Jul-2008 |
lukem |
branches: 1.47.2; 1.47.20; Remove the \n and tabs from the __COPYRIGHT() strings.
|
|
Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base keiichi-mipv6-base matt-armv6-nbase matt-armv6-prevmlocking cube-autoconf-base matt-armv6-base matt-mips64-base hpcarm-cleanup-base
|
| 1.46 |
13-Jan-2007 |
cbiere |
branches: 1.46.12; - Applied patch from PR bin/35408 by Andreas Wiese. - Use EXIT_FAILURE instead of 1. - Use return instead of exit() at the end of main(). - Use sizeof() instead of BUFSIZ.
|
|
Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 wrstuden-fixsa-base netbsd-4-base
|
| 1.45 |
08-Oct-2006 |
elad |
PR/32759: Ulrich Heilmann: Output of cat -s -n is wrong
Applied patch from David A. Holland, thanks!
|
|
Revision tags: abandoned-netbsd-4-base
|
| 1.44 |
26-Feb-2006 |
christos |
PR/32931: Johan Veenhuizen: cat(1) does not clear the EOF indicator for stdin in cooked mode.
|
|
Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-3-base netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
|
| 1.43 |
04-Jan-2004 |
jschauma |
Remove unused code left over from temporary printescaped functionality. Noted by Jeff Ito in PR bin/23966.
|
| 1.42 |
27-Oct-2003 |
lukem |
Overhaul how `build.sh tools' are used:
* Rename "config.h" to "nbtool_config.h" and HAVE_CONFIG_H to HAVE_NBTOOL_CONFIG_H. This makes in more obvious in the source when we're using tools/compat/config.h versus "standard autoconf" config.h
* Consistently move the inclusion of nbtool_config.h to before <sys/cdefs.h> so that the former can provide __RCSID() (et al), and there's no need to protect those macros any more.
These changes should make it easier to "tool-ify" a program by adding: #if HAVE_NBTOOL_CONFIG_H #include "nbtool_config.h" #endif to the top of the source files (for the general case).
|
| 1.41 |
14-Sep-2003 |
jschauma |
Following private discussion with kleink@ and hubertf@ and public discussion on tech-userlevel@, back out printescaped() functionality. kleink: ``We sell rope.''
|
| 1.40 |
27-Aug-2003 |
uwe |
Include "config.h" if building as a host program. Need this to get SIZE_MAX defintion from compat_defs.h on FreeBSD.
|
| 1.39 |
25-Aug-2003 |
kleink |
This is a host tool, so for the time being change SIZE_T_MAX to the more portable SIZE_MAX; partially addresses PR toolchain/22504 from Christian Limpach.
|
| 1.38 |
13-Aug-2003 |
itojun |
use bounded string op
|
| 1.37 |
07-Aug-2003 |
agc |
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22249, verified by myself.
|
| 1.36 |
04-Aug-2003 |
jschauma |
As discusses a little while back on tech-userlevel:
If stdout is a tty, use vis(3) to print any filenames to prevent garbage from being printed if the filename contains control- or other non-printable characters.
While here, sprinkle some EXIT_FAILURE and NOTREACHED where appropriate.
|
|
Revision tags: fvdl_fs64_base
|
| 1.35 |
13-Sep-2002 |
thorpej |
Don't use MAX(); not all systems have it, and this is a host tool.
|
| 1.34 |
11-Jun-2002 |
bjh21 |
Rather than (ab)using the standard error message for EFTYPE, print our own message when "cat -f" is used on a non-regular file. This is necessary to make cat(1) portable to systems that don't have EFTYPE (like Linux).
|
| 1.33 |
11-Jun-2002 |
bjh21 |
Only use __RCSID() and __COPYRIGHT() if they're defined.
|
| 1.32 |
10-Jun-2002 |
mason |
Add -l option to cat(1), as discussed on tech-userlevel. This option causes cat(1) to use fcntl(2) to set an exclusive advisory lock on stdout. While being useful in its own right, this will shortly be used to guarantee orderly writing to METALOG in the case of unprivileged builds with NBUILDJOBS > 1.
|
|
Revision tags: netbsd-1-6-base
|
| 1.31 |
09-May-2002 |
simonb |
branches: 1.31.2; Simplify previous - sbuf.st_blksize is a uint32_t, so just use bsize = MAX(sbuf.st_blksize, BUFSIZ); and skip playing with SSIZE_MAX altogether.
|
| 1.30 |
09-May-2002 |
thorpej |
Fix oversight in last.
|
| 1.29 |
09-May-2002 |
thorpej |
Skip a check that is always true if _LP64 is defined.
|
| 1.28 |
16-Sep-2001 |
wiz |
Some KNF, via patch by Petri Koistinen in private mail.
|
| 1.27 |
29-Jul-2001 |
wiz |
Some style improvements. [Nearly] #13592 by Petri Koistinen.
|
| 1.26 |
03-Jan-2001 |
mjl |
Un-__P and ANSIfy
|
| 1.25 |
03-Jan-2001 |
mjl |
Sync usage w/ options, remove bogus cast.
|
| 1.24 |
31-Jul-2000 |
christos |
don't use the "f" flag to fopen when -f is not specified (from Chuck Cranor)
|
|
Revision tags: netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base
|
| 1.23 |
14-Apr-2000 |
simonb |
Don't declare 'extern opt*' getopt variables.
|
| 1.22 |
15-Jan-2000 |
christos |
Add a -f fflag that makes sure that we only try to read from plain files so that there is no chance to block.
|
|
Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base
|
| 1.21 |
08-Jul-1999 |
christos |
Make this compile with WARNS = 2
|
| 1.20 |
26-Apr-1999 |
hannken |
Fix buffer allocation in function `raw_cat'. It was possible to get a buffer size of zero if stdout has a block size of 0. The command `rsh <host> cat <files>' gives no output and no error.
- Allocate a minimum of BUFSIZ bytes for buffer. - Use a static buffer if either `fstat' or `malloc' fails. - Do the allocation once since stdout will not change block size.
|
|
Revision tags: netbsd-1-4-base
|
| 1.19 |
11-Mar-1999 |
fair |
branches: 1.19.2; Patch from PR#5156 to adjust buffer size to match filesystem block size when "-u" option used, plus some additional documentation.
|
| 1.18 |
28-Jul-1998 |
mycroft |
Delint.
|
| 1.17 |
27-Jan-1998 |
kleink |
Fix the EOL-indicators ('$') toggled by the `-e' option to be lined up correctly when used in conjunction with the `-b' option; from Giles Lean in PR bin/4841, modified by me to retain the line-counting semantics of `-b'.
|
| 1.16 |
05-Nov-1997 |
cgd |
lint
|
|
Revision tags: netbsd-1-3-RELEASE netbsd-1-3-BETA netbsd-1-3-base
|
| 1.15 |
20-Jul-1997 |
thorpej |
branches: 1.15.2; __COPYRIGHT()/__RCSID()/prototype police.
|
| 1.14 |
26-Jun-1997 |
kleink |
When allocating a buffer failed, don't fail silently.
|
| 1.13 |
27-Apr-1997 |
kleink |
Indicate file handling failures by exit codes >0; fixes PR/3538 from David Eckhardt <davide@piper.nectar.cs.cmu.edu>.
|
| 1.12 |
09-Jan-1997 |
tls |
kill use of register
|
|
Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
|
| 1.11 |
07-Sep-1995 |
jtc |
Sync with 4.4lite2
|
| 1.10 |
21-Mar-1995 |
cgd |
convert to new RCS id conventions.
|
| 1.9 |
20-Sep-1994 |
mycroft |
Merge with 4.4-Lite version.
|
|
Revision tags: netbsd-1-0-PATCH06 netbsd-1-0-PATCH05 netbsd-1-0-PATCH04 netbsd-1-0-PATCH03 netbsd-1-0-PATCH02 netbsd-1-0-PATCH1 netbsd-1-0-PATCH0 netbsd-1-0-RELEASE netbsd-1-0-base
|
| 1.8 |
19-Nov-1993 |
jtc |
POSIX.2 utilities must call setlocale(LC_ALL, "");
|
| 1.7 |
10-Sep-1993 |
jtc |
Too few arguments for err() format specification.
|
| 1.6 |
01-Aug-1993 |
mycroft |
Add RCS identifiers.
|
|
Revision tags: netbsd-0-9-RELEASE netbsd-0-9-BETA netbsd-0-9-ALPHA2 netbsd-0-9-ALPHA netbsd-0-9-base
|
| 1.5 |
11-Jul-1993 |
cgd |
fix the cat bug found by mycroft in a more asthetically pleasing way... also turn "Header" into "Id" for RCS...
|
| 1.4 |
11-Jul-1993 |
mycroft |
Work correctly if a write() comes up short.
|
|
Revision tags: netbsd-0-8 netbsd-alpha-1
|
| 1.3 |
23-Mar-1993 |
cgd |
changed "Id" to "Header" for rcsids
|
| 1.2 |
22-Mar-1993 |
cgd |
added rcs ids to all files
|
| 1.1 |
21-Mar-1993 |
cgd |
branches: 1.1.1; Initial revision
|