sjg
0ee5295509
Updated dependencies
2013-02-16 01:23:54 +00:00
marcel
9dd41e3647
Sync FreeBSD's bmake branch with Juniper's internal bmake branch.
...
Requested by: Simon Gerraty <sjg@juniper.net>
2012-08-22 19:25:57 +00:00
joel
29af67e52c
Remove the advertising clause from UCB copyrighted files in usr.bin. This
...
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
2010-12-11 08:32:16 +00:00
rwatson
0239a09bb6
Alow dirname(1) to accept multiple arguments in the same way that
...
basename(1) does.
(Two different PRs contained identical patches, both cited below)
PR: 121520, 86148
Submitted by: Ighighi <ighighi at gmail dot com>
Submitted by: Leif Neland <leif at neland dot dk>
MFC after: 3 days
2009-02-02 11:19:56 +00:00
jkoshy
a1dcc288df
Cross-reference basename(3) and dirname(3).
2006-03-16 17:21:52 +00:00
ru
7f3c7f0d46
Sort sections.
2005-01-18 13:43:56 +00:00
ru
6cc4b6c220
Added the EXIT STATUS section where appropriate.
2005-01-17 07:44:44 +00:00
tjr
fdd18f5e83
Ensure that suffix matches occur on character boundaries.
2004-07-15 06:15:10 +00:00
ru
ee5b7e52fa
Deal with double whitespace.
2004-07-03 00:24:45 +00:00
dwmalone
b4339b74ad
ANSIify function definitions.
...
Add some constness to avoid some warnings.
Remove use register keyword.
Deal with missing/unneeded extern/prototypes.
Some minor type changes/casts to avoid warnings.
Reviewed by: md5
2002-09-04 23:29:10 +00:00
jmallett
2b6e4e1504
Remove local prototypes for main().
2002-08-19 03:07:56 +00:00
jmallett
dc7f65410f
Make it possible to have this (basename(1)) perform basename(3) on multiple
...
files. The traditional behaviour, 'basename string .suffix', is preserved,
however a suffix may now also be specified via a getopt(3) option, -s, such
that if it is specified in that way, all string arguments follow. There is
also a new flag, -a, which allows a user to say "yes, please basename(3) on
all arguments". Update manual to reflect this unobtrusively.
Reviewed by: obrien
2002-06-30 13:40:35 +00:00
charnier
a07fb1cc07
Use `The .Nm utility'
2002-04-19 23:44:58 +00:00
imp
74d826c7a6
remove __P
2002-03-22 01:22:50 +00:00
markm
ae2558974f
Remove leaf node WARNS?=2 (that mainly I added). This should
...
help the GCC3 transition and CURRENT in general.
2002-02-08 22:31:43 +00:00
dwmalone
d9613ea383
Style improvements recommended by Bruce as a follow up to some
...
of the recent WARNS commits. The idea is:
1) FreeBSD id tags should follow vendor tags.
2) Vendor tags should not be compiled (though copyrights probably should).
3) There should be no blank line between including cdefs and __FBSDIF.
2001-12-10 21:13:08 +00:00
markm
518bba4cc1
Use __FBSDID().
2001-12-03 01:15:28 +00:00
ru
bde8ec1b70
mdoc(7) police: utilize the new .Ex macro.
2001-08-15 09:09:47 +00:00
dd
911ca14c87
Remove whitespace at EOL.
2001-07-15 08:06:20 +00:00
dd
fdda055e00
Set WARNS=2 on programs that compile cleanly with it; add $FreeBSD$
...
where necessary.
Submitted by: Mike Barcroft <mike@q9media.com>
2001-06-30 05:39:36 +00:00
dd
84f4d732c8
Include missing header files which define functions for which gcc has
...
builtins (e.g., exit).
Submitted by: Mike Barcroft <mike@q9media.com>
2001-06-24 19:41:18 +00:00
kris
345ed876ad
Silence WARNS=2 and BDECFLAGS on alpha and i386
...
MFC after: 1 week
2001-05-20 06:18:37 +00:00
ru
d6225ad87f
mdoc(7) police: utilize .St macro.
2001-02-26 15:55:52 +00:00
ru
0d1334ca0c
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 19:21:22 +00:00
des
51c91a72d9
Fix suffix matching.
...
Restore historical behaviour when the first argument is an empty string.
Submitted by: Alexander N. Kabaev <ak03@gte.com>
Pointed out by: bde
2000-10-12 16:22:15 +00:00
des
4cb6e07eff
Reintroduce functionality and error checks that were boneheadedly removed
...
in the previous commit. Pass me the pointy hat.
PR: bin/21061
2000-09-06 07:28:02 +00:00
des
1846ba7eb2
Use basename(3).
2000-09-03 17:09:41 +00:00
charnier
c8ca89e91c
Add DIAGNOSTICS section name
2000-03-26 14:42:14 +00:00
peter
3b842d34e8
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
archie
167c036e91
Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]).
1998-12-06 22:58:23 +00:00
danny
fdf7addba7
PR: 4866
...
Submitted by: fenner
Make man page reflect reality.
1998-04-14 22:08:48 +00:00
imp
141381e1cb
compare return value from getopt against -1 rather than EOF, per the final
...
posix standard on the topic.
1997-03-29 04:34:07 +00:00
peter
dc74a95b3c
This commit was generated by cvs2svn to compensate for changes in r23690,
...
which included commits to RCS files with non-trunk default branches.
1997-03-11 13:08:12 +00:00
peter
297505f8fa
Import some parts of CSRG 4.4BSD-Lite2 usr.bin sources to fix tree build.
1997-03-11 13:08:12 +00:00
peter
f390c26dd9
Revert $FreeBSD$ to $Id$
1997-02-22 19:58:13 +00:00
jkh
808a36ef65
Make the long-awaited change from $Id$ to $FreeBSD$
...
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.
1997-01-14 07:20:47 +00:00
wosch
89dea7c61d
add missing comma(s) in .Xr macros
1996-09-23 22:24:39 +00:00
rgrimes
f9ab90d9d6
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00