tjr
da55c6627b
Ensure that suffix matches occur on character boundaries.
2004-07-15 06:15:10 +00:00
ru
cbb49d7abe
Deal with double whitespace.
2004-07-03 00:24:45 +00:00
dwmalone
e3e153e6ce
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
51dc8825ab
Remove local prototypes for main().
2002-08-19 03:07:56 +00:00
jmallett
137de57bda
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
75f0c117d4
Use `The .Nm utility'
2002-04-19 23:44:58 +00:00
imp
0338ac6a1a
remove __P
2002-03-22 01:22:50 +00:00
markm
72f8b8d824
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
7a4ad1e332
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
15ab291356
Use __FBSDID().
2001-12-03 01:15:28 +00:00
ru
e6bcd7b5b8
mdoc(7) police: utilize the new .Ex macro.
2001-08-15 09:09:47 +00:00
dd
7d1013753f
Remove whitespace at EOL.
2001-07-15 08:06:20 +00:00
dd
8aa69f4716
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
9bae5dc658
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
b5820a495a
Silence WARNS=2 and BDECFLAGS on alpha and i386
...
MFC after: 1 week
2001-05-20 06:18:37 +00:00
ru
3eb66f9da7
mdoc(7) police: utilize .St macro.
2001-02-26 15:55:52 +00:00
ru
0957874304
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 19:21:22 +00:00
des
5cc12bbe00
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
6921cc4c03
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
0f74eb1ff5
Use basename(3).
2000-09-03 17:09:41 +00:00
charnier
90314ec2f3
Add DIAGNOSTICS section name
2000-03-26 14:42:14 +00:00
peter
e4b04a2b21
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
archie
b24c3efc8e
Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]).
1998-12-06 22:58:23 +00:00
danny
78969c34a5
PR: 4866
...
Submitted by: fenner
Make man page reflect reality.
1998-04-14 22:08:48 +00:00
imp
cd84ece5fd
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
8d2bf2fada
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
91c996fd18
Import some parts of CSRG 4.4BSD-Lite2 usr.bin sources to fix tree build.
1997-03-11 13:08:12 +00:00
peter
aef78d145b
Revert $FreeBSD$ to $Id$
1997-02-22 19:58:13 +00:00
jkh
9c0cd3f9df
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
e7eeae0eba
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