Commit Graph

33 Commits

Author SHA1 Message Date
wiz
4e4e99275b Add missing -j to usage; sort as in man page;
use getprogname(). From Kouichirou Hiratsuka in PR 26220.
2004-07-13 11:53:57 +00:00
itojun
50847da5c5 safer use of realloc 2003-10-16 06:56:17 +00:00
agc
89aaa1bb64 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
2003-08-07 11:13:06 +00:00
wiz
4880d466e5 Remove duplicate unistd.h inclusion. Igor Sobrado, PR 21300. 2003-04-24 08:22:05 +00:00
perry
fc1e655234 shellscripts -> shell scripts (from Igor Sobrado in PR misc/19700) 2003-03-31 01:55:23 +00:00
wiz
990562bfef .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
jonb
0fb6a2fdff finish fixing PR#15412 2002-07-24 17:03:00 +00:00
jonb
549323fedc Make the -v flag print data instead of blank lines. Thanks to
Duncan McEwan <duncan@mcs.vuw.ac.nz> for the hint in PR#15412.
I'll leave the rest of his patch for someone more familiar
with join to fix.
2002-02-14 03:21:07 +00:00
ross
2a76afae02 Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
wiz
cb292d0d1e Sort sections. 2001-12-01 19:29:58 +00:00
wiz
c4aebac5ce Add section to xref. 2001-04-04 09:36:51 +00:00
mycroft
f11e179e71 Fix another off-by-one error, attempting to output a non-existant field. 2000-06-10 19:21:05 +00:00
mycroft
a02b2cb6d8 Small bug fixes:
* Allow , as a separator in the output field list.
* If we try to compare two fields that are not present in *either* file,
  consider it a match.
2000-06-10 19:15:15 +00:00
mycroft
5c886053bc Don't step off into space after a realloc(). (Get rid of `lastlp'.)
Also, allocate more data in powers of 2.
2000-06-10 19:03:22 +00:00
tron
c8b0d04949 Fix wrong array size calculation in call to memset() and avoid a possible
segmentation fault in memmove(). Patches supplied by Stephan Thesing in
PR bin/8184.
1999-08-10 20:09:02 +00:00
mycroft
a1c657fe56 Clean up SYNOPSIS formatting. 1999-03-07 11:29:58 +00:00
christos
0d9bacd536 gcc-2.8.1 wants more braces 1998-12-19 17:05:30 +00:00
wsanchez
d213a54fe9 include unistd.h 1998-10-13 17:02:16 +00:00
ross
f670fa10c5 Add { and } to shut up egcs. Reformat the more questionable code. 1998-08-25 20:59:36 +00:00
perry
b7110dfa46 add <unistd.h> to fix compiler warning 1998-02-03 03:47:47 +00:00
lukem
ac4e9aa74a WARNSify, fix .Nm usage, deprecate register, use <err.h> 1997-10-19 03:32:11 +00:00
tls
9bb9a57573 revert to pre-merged version due to bugs; will fix. 1997-01-13 20:57:48 +00:00
tls
9d225a1783 RCS ID police 1997-01-09 20:18:21 +00:00
tls
20d490585f Sync to 4.4BSD Lite-2 (minus a number of conflicting bugfixes) 1997-01-09 13:29:56 +00:00
mycroft
1a97a35609 Fix off-by-one error in checking field numbers. From der Mouse, PR 1356. 1996-02-08 18:24:16 +00:00
cgd
02254e0c37 rename fgetline() and sharpen axe for bostic... 1994-01-04 05:16:44 +00:00
cgd
a60129f588 update for fgetline 1993-12-22 07:23:27 +00:00
cgd
cf60e8dfa8 fix from Dave Matthews <dave@prlng.co.uk>, with modifications by cgd:
Bug Description:
	Two different bugs in join.  One causes a segmentation fault if
	increasing the space by 100 is not enough.  The other gives the
	wrong results because the program saves a pointer to the original
	buffer rather than to the area where the lines have been copied.
1993-11-15 09:30:52 +00:00
jtc
2ddbb97f0f #include <unistd.h>, so getopt(), optarg, opterr, optind, and optopt
declarations can be removed from <stdlib.h>.
1993-10-13 18:33:45 +00:00
mycroft
e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft
c3e42d1c64 Add RCS indentifiers. 1993-08-01 07:22:47 +00:00
mycroft
690cae8181 Add RCS indentifiers. 1993-07-31 15:17:49 +00:00
glass
f7d7921aae join from ftp.uu.net:bsd-sources integrated 1993-04-30 08:04:31 +00:00