summaryrefslogtreecommitdiff
path: root/usr.bin/paste
AgeCommit message (Collapse)Author
2024-07-15Remove residual blank line at start of MakefileWarner Losh
This is a residual of the $FreeBSD$ removal. MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
2023-11-26Remove copyright strings ifdef'd outWarner Losh
We've ifdef'd out the copyright strings for some time now. Go ahead and remove the ifdefs. Plus whatever other detritis was left over from other recent removals. These copyright strings are present in the comments and are largely from CSRG's attempt at adding their copyright to every binary file (which modern interpretations of the license doesn't require). Sponsored by: Netflix
2023-11-26usr.bin: Remove ancient SCCS tags.Warner Losh
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
2023-08-16Remove $FreeBSD$: one-line nroff patternWarner Losh
Remove /^\.\\"\s*\$FreeBSD\$$\n/
2023-08-16Remove $FreeBSD$: one-line sh patternWarner Losh
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
2023-08-16Remove $FreeBSD$: one-line .c patternWarner Losh
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
2023-07-07Mark usage function as __dead2 in programs where it does not returnAlfonso Gregory
In most cases, usage does not return, so mark them as __dead2. For the cases where they do return, they have not been marked __dead2. Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/735
2023-04-18Update/fix Makefile.depend for userlandSimon J. Gerraty
2022-11-07Update HISTORY and AUTHORS sections for cut(1) and paste(1)Gordon Bergling
In an e-mail Brian Walden wrote that: "GWRL stands for Gottfried W. R. Luderer, the author of cut(1) and paste(1), probably around 1978. Those came either from PWB or USG, as he worked with, or for, Berkley Tague. Thus they made their way into AT&T commercial UNIX, first into System III and the into System V, and that's why they are missing from early BSD releases as they didn't get into Research UNIX until the 8th Edition." So update the HISTORY and AUTHORS sections for cut(1) and paste(1). [1] https://minnie.tuhs.org/pipermail/tuhs/2020-January/019955.html Reviewed by: pauamma, imp Obtained from: OpenBSD (in partial) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D36048
2021-05-31Fix confusing example in paste(1)jocki84
Paste's man page contains an example for a reimplementation of nl(1). This example uses the command line sed = myfile | paste -s -d '\t\n' - - in order to concatenate consecutive lines with an intervening tab. However, the way the example uses the switches -s and -d and two `dash` input files is redundant. There are in fact two equivalent but simpler ways to achieve the desired result: sed = myfile | paste -s -d '\t\n' - uses the same style as the previous example, while sed = myfile | paste - - is arguably even simpler and illustrates the final sentence of the DESCRIPTION. Reviewed by: imp@ Pull Request: https://github.com/freebsd/freebsd-src/pull/163
2017-11-20General further adoption of SPDX licensing ID tags.Pedro F. Giffuni
Mainly focus on files that use BSD 3-Clause license. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Special thanks to Wind River for providing access to "The Duke of Highlander" tool: an older (2014) run over FreeBSD tree was useful as a starting point. Notes: svn path=/head/; revision=326025
2017-10-31DIRDEPS_BUILD: Update dependencies.Bryan Drewery
Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
2017-02-28Renumber copyright clause 4Warner Losh
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
2015-06-13Add META_MODE support.Simon J. Gerraty
Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
2015-06-08dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty
Notes: svn path=/projects/bmake/; revision=284172
2014-05-16Updated dependenciesSimon J. Gerraty
Notes: svn path=/projects/bmake/; revision=266219
2014-05-10Updated dependenciesSimon J. Gerraty
Notes: svn path=/projects/bmake/; revision=265802
2013-03-11Updated dependenciesSimon J. Gerraty
Notes: svn path=/projects/bmake/; revision=248169
2013-02-16Updated dependenciesSimon J. Gerraty
Notes: svn path=/projects/bmake/; revision=246868
2012-08-22Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar
Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
2011-11-06Mark global functions and/or variables in paste(1) static where possible.Ed Schouten
This allows compilers and static analyzers to more thorough analysis. Notes: svn path=/head/; revision=227242
2010-12-11Remove the advertising clause from UCB copyrighted files in usr.bin. ThisJoel Dahl
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
2009-12-13Revert most part of 200420 as requested, as more review and polish isXin LI
needed. Notes: svn path=/head/; revision=200462
2009-12-11Remove unneeded header includes from usr.bin/ except contributed code.Xin LI
Tested with: make universe Notes: svn path=/head/; revision=200420
2006-09-12WARNS=6 chocked on unitialized variable.Philippe Charnier
Notes: svn path=/head/; revision=162239
2005-01-18Sort sections.Ruslan Ermilov
Notes: svn path=/head/; revision=140420
2005-01-17Added the EXIT STATUS section where appropriate.Ruslan Ermilov
Notes: svn path=/head/; revision=140368
2004-07-07mdoc(7) fixes.Ruslan Ermilov
Notes: svn path=/head/; revision=131754
2004-06-25Add support for multibyte characters in input files and delimiterTim J. Robbins
strings (arguments to the -d option.) This involves backing out paste.c rev. 1.13 until we have a version of fgetln() that operates on wide character streams. Notes: svn path=/head/; revision=131076
2002-12-23Fixed the abuses of .Ql visible on stderr in troff mode.Ruslan Ermilov
PR: docs/37176 Notes: svn path=/head/; revision=108221
2002-11-26mdoc(7) police: markup polishing.Ruslan Ermilov
Approved by: re Notes: svn path=/head/; revision=107276
2002-08-11Fix typos; each file has at least one s/seperat/separat/Jens Schweikhardt
(I skipped those in contrib/, gnu/ and crypto/) While I was at it, fixed a lot more found by ispell that I could identify with certainty to be errors. All of these were in comments or text, not in actual code. Suggested by: bde MFC after: 3 days Notes: svn path=/head/; revision=101677
2002-06-11paste(1) appeared at least as early as 32v.Tim J. Robbins
Notes: svn path=/head/; revision=98112
2002-06-10Add another example for using paste(1) since tjr seemed to want more examplesJuli Mallett
on IRC. This one is to create a colon seperated list of directories from find(1), suitable for use in the shell's PATH. Notes: svn path=/head/; revision=98090
2002-06-10Add an EXAMPLES section with three examples. Document the problem withTim J. Robbins
multibyte characters and the -d option in a BUGS section. Notes: svn path=/head/; revision=98089
2002-05-24Use fgetln(3) to handle lines of unlimited length instead of aTim J. Robbins
getc/putc loop. Suggested by: dd Notes: svn path=/head/; revision=97233
2002-05-24P1003.2 forbids imposing any limit on line lengths; read character byTim J. Robbins
character instead of manually buffering each line. Notes: svn path=/head/; revision=97230
2002-05-24Exit with non-zero status if any files specified could not be openedTim J. Robbins
when -s option is given (SUSv3). Notes: svn path=/head/; revision=97223
2002-05-17Clean up malloc(3)'s argument. Remove casts which do nothing when we'reJuli Mallett
using sizeof() anyway. Use slightly more consistent (per-file) error reporting for malloc(3) returning NULL. If "malloc failed" was being printed, don't use err(3). If a NULL format is being used, use err(3). In one case errx(3) was being used with strerror(3), so just use err(3). Notes: svn path=/head/; revision=96785
2002-04-28More low hanging warnings fruit; ANSIfy, de-register, constify.Mark Murray
Notes: svn path=/head/; revision=95626
2002-03-22remove __PWarner Losh
Notes: svn path=/head/; revision=92921
2002-03-20When invoked with no file arguments, display usage.Mike Barcroft
Submitted by: Tim J. Robbins <tim@robbins.dropbear.id.au> PR: 36074 Use new ID scheme. Notes: svn path=/head/; revision=92772
2001-09-21Cross-reference between lam(1) and paste(1). Add a STANDARDS section toGarrett Wollman
lam(1) indicating that paste(1) is a standard way to do some of the same things. MFC after: 1 week Notes: svn path=/head/; revision=83745
2001-08-15mdoc(7) police: utilize the new .Ex macro.Ruslan Ermilov
Notes: svn path=/head/; revision=81687
2001-07-15Remove whitespace at EOL.Dima Dorfman
Notes: svn path=/head/; revision=79755
2001-02-13mdoc(7) police: use the default ``file ...'' feature of the .Ar macro.Ruslan Ermilov
Notes: svn path=/head/; revision=72432
2000-03-26Put flags under .Fl. Add DIAGNOSTICS section namePhilippe Charnier
Notes: svn path=/head/; revision=58617
1999-08-28$Id$ -> $FreeBSD$Peter Wemm
Notes: svn path=/head/; revision=50477
1999-07-12Add $Id$, to make it simpler for members of the translation teams toNik Clayton
track. The $Id$ line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde Notes: svn path=/head/; revision=48792
1998-02-20Add #include <stdlib.h> to get prototype for malloc(). Without this,John Birrell
the compiler assumes an int return. On alpha this is enough to ruin ya day. Notes: svn path=/head/; revision=33644