summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Make it clear that the ":C" variable modifier expects an extendedarchie2002-09-061-2/+2
| | | | | | | regular expression instead of an obsolete regular expression. Also, cross-reference re_format(7) instead of regex(3). MFC after: 3 days
* Warns cleanups for netstat:dwmalone2002-09-0515-195/+194
| | | | | | | | | | | 1) Include arpa/inet.h for ntohs. 2) Constness fixes. 3) Fix shadowing except for "sin" which shouldn't be in scope. 4) Remove register keyword. 5) Add missing initialsers to user defined structs. 5) Make prototype of netname6 globally visable. 6) Use right macros for printing syncache stats (even though entrie isn't a word).
* Include stdint.h to make this compile.iedowse2002-09-051-0/+1
| | | | Submitted by: Garance A Drosihn <drosih@rpi.edu>
* ANSIify function definitions.dwmalone2002-09-0474-747/+421
| | | | | | | | | 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
* Avoid a signedness warning by casting chain_index to a size_t.dwmalone2002-09-041-1/+1
| | | | (Should be OK as chain_index is supposed to be positive).
* No need to declare optind as an external int.dwmalone2002-09-041-1/+0
|
* Die on -D=foo, when parsing options - we can't let someone define (nil).jmallett2002-09-041-0/+2
| | | | MFC after: 3 days
* Don't try (and fail) to fchmod /dev/stdout. Revert the manual pagefanf2002-09-032-1/+3
| | | | | | | | to suggest the portable alternative to -p. PR: 42356 Submitted by: Kimura Fuyuki <fuyuki@hadaly.org> MFC after: 1 week
* Suggest -p instead of -o /dev/stdout.fanf2002-09-031-1/+1
| | | | PR: 42356
* Remove spurious whitespacefanf2002-09-031-8/+6
|
* If the CC environment variable contains multiple words then splitiedowse2002-09-011-3/+7
| | | | | | it up into separate exec arguments. Reviewed by: markm
* Deal with bootstrapping from an old -current (almost exactly a year old)peter2002-08-311-0/+3
| | | | | | | which fails the make tests (doesn't understand ${notdef:U}) and therefore fails on __FBSDID in usr.bin/make/*. -DBOOTSTRAPPING is no help here since this is before we are using the new share/mk/* files, and it would conflict with the builtin -DBOOTSTRAPPING support later.. so use a different flag.
* Switch to new format which allows unlimited numbers of chains andache2002-08-311-16/+43
| | | | | usually saves 2K in both data file and program memory. Updated libc required.
* Add dates of foundation for Malaya, Malaysia and Singapore.grog2002-08-301-0/+3
|
* Prepare for switching to unlimited chains formatache2002-08-301-15/+31
|
* Add date of foundation of Federal Republic of Germany.grog2002-08-291-1/+1
| | | | | | Remove bogus event of 22 September 1953. Submitted by: Jan-Oliver Neumann <jneumann@ix.urz.uni-heidelberg.de>
* - Clarify events which happened in the USA.grog2002-08-281-25/+24
| | | | | | | | | - Note that the USA has no King. - Unify spelling "US", not "U.S.". - Remove USSR holiday (anniversary of the revolution). - Don't remove claim that the Federal Republic of Germany was founded in 1953 (22 September). Somebody should clarify if something reallly did happen on that day.
* Do not repeat the name of the flag in its descriptioncharnier2002-08-271-24/+8
|
* Use strchr() instead of index(). Use getopt(). Use err().charnier2002-08-271-68/+41
|
* s/optarg/s/ (cut'n'paste braino)des2002-08-271-6/+4
| | | | Spotted by: kris
* Clarify that the date 26 August 1920 was the date women got the votegrog2002-08-261-1/+4
| | | | | | | | | in USA, not the world first. Add dates for women's votes in New Zealand. Add dates for women's votes and rights to political office in South Australia.
* Replace various spelling with FALLTHROUGH which is lint()ablecharnier2002-08-259-15/+15
|
* Add a -C ala GNU make(1) for Makefiles which are too lazy to use $(MAKE) andjmallett2002-08-253-3/+11
| | | | | | | | this particular GNU flag. It changes into the given directory for the operation in question. This just goes into said directory at the time of parsing the argument for getopt(3). Submitted by: Rachel Hestilow <rachel@jerkcity.com>
* Tweak chain example to show more possibilitiesache2002-08-231-2/+2
|
* Fix warning when calling w(1) when logged in via xdm/kdm. This isseanc2002-08-231-4/+3
| | | | | | | really a problem with utmp/wtmp, but takes the same approach as who(1). Reviewed by: knu (mentor), mini, silence on -audit Approved by: knu (mentor), mini
* Allow chains in any form like <name1><name2> or \xf1\xf2, not binaryache2002-08-233-37/+37
| | | | representation only.
* Use correct document date for the -a option.johan2002-08-221-1/+1
|
* Add the -a option to report all matches instead of only thejohan2002-08-223-57/+145
| | | | | | first of each requested type. Approved by: joerg, sheldonh (mentor)
* Jump in.thomas2002-08-211-0/+1
| | | | Reviewed by: roberto
* For scripts that are called in non-login environments (in particularjoerg2002-08-212-1/+52
| | | | | | | | mail filters), the /usr/bin/perl dummy fails since it assumes that the installed package could be reached via the existing $PATH. Also, since we are obviously looking for a perl installed by a package, we should make sure that at least the default package bindir is being searched.
* Add myself.obraun2002-08-211-0/+1
| | | | Approved by: dwcjr (mentor)
* Document SWIDTH*ache2002-08-201-0/+12
|
* Allow embedded `:' and `!' in target names.ru2002-08-201-2/+31
| | | | | | PR: bin/6612 Obtained from: OpenBSD MFC after: 1 week
* When login tries to do the chmod/chflags on a read only file system,imp2002-08-191-3/+12
| | | | | | | | | | | | | | | | | | | it complains that it can't do it because the filesystem is readonly. Assume that when the user has a readonly /dev that they don't care if login can't change the permissions/flags. While this does break a few things like msgs, we'll assume that the user setting up the read only system knows what they are doing. All this change does is to stop the complaint when the file system is read only. It also adds comments as to why EROFS and EOPNOTSUPP are ignored. This allows one to have a read-only / w/o a /dev MFS and have a relatively warning-free existence. /etc/rc still complains when it can't chown/chflags/chmod things, but that's easy to ignore/tweak. Reviewed by: roberto, phk Sponsored by: Timing Solutions
* Remove local prototypes for main().jmallett2002-08-1915-19/+0
|
* Add a unary -not operator ala -false and !, for sake of completeness.jmallett2002-08-192-0/+2
| | | | | Obtained from: OpenDarwin MFC after: 1 week
* Correctly handle empty path arguments, e.g., whereis -S -f biff.johan2002-08-181-7/+3
| | | | Approved by: joerg, sheldonh (mentor)
* Add swidth definitions and lex code to mklocalekeichii2002-08-161-0/+4
| | | | | | | | | After adding swidth support in iswctype.c and ctype.h Submitted by: clkao@clkao.org Reviewed by: keichii,ache Obtained from: NetBSD MFC after: 1 month
* Forgot to change branches for my src tree. MFS my birthdate.seanc2002-08-161-0/+1
| | | | | | Pointed out by: maxim Reviewed by: knu (mentor) Approved by: knu (mentor)
* Bump document date for the 'beep only' change.johan2002-08-161-1/+1
|
* Bah! Use the full name for Florida.marcus2002-08-151-1/+1
|
* Add myself.marcus2002-08-151-0/+1
|
* Add myself.dg2002-08-151-0/+1
|
* Oops, add -false to the operators list in the manual page for find(1), as addedjmallett2002-08-151-0/+1
| | | | | | in revision 1.17 of option.c. MFC after: 1 week
* Add support for -false instead of '!' cause it can be hard to use that injmallett2002-08-151-0/+1
| | | | | | | some shells, etc., and also for GNU compatability (lack of this broke the Mono CVS build for me). MFC after: 1 week
* I was too conservative with my header changes, so restore some sanitydougb2002-08-151-2/+3
| | | | | | | via bde. atatat@NetBSD.org made basically the same change in their version, so bring over their CVS Id which I neglected last time. Obtained from: bde, Andrew Brown <atatat@NetBSD.org>
* Unbreak building of fstat following version 1.23 ofbmilekic2002-08-141-1/+1
| | | | src/sys/ufs/ufs/quota.h by including mount.h before ufs/quota.h.
* Use proper #includeache2002-08-141-1/+1
|
* Add #undefs to separate local buffers declaration and now dinamic libc buffersache2002-08-141-0/+5
|
* mdoc(7) police: simplify.ru2002-08-141-3/+1
|
OpenPOWER on IntegriCloud