Commit Graph

31 Commits

Author SHA1 Message Date
dsl
13fd6f5a25 Fix rmdir -p x/y/z//
Remove redundant code.
2003-09-29 21:11:15 +00:00
jschauma
6a75fbb636 Following private discussion with kleink@ and hubertf@ and public discussion
on tech-userlevel@, back out printescaped() functionality.
kleink: ``We sell rope.''
2003-09-14 19:20:16 +00:00
christos
e84c1029c6 Comment out unneeded code now that the kernel has been fixed to ignore
trailing slashes.
2003-09-11 17:38:12 +00:00
itojun
e1e0321817 use bounded string op 2003-08-13 02:51:20 +00:00
agc
b5b2954259 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22249, verified by myself.
2003-08-07 09:05:01 +00:00
jschauma
458ed23412 As discusses a little while back on tech-userlevel:
If stdout is a tty, use vis(3) to print any filenames to prevent garbage
from being printed if the filename contains control- or other non-printable
characters.

While here, sprinkle some EXIT_FAILURE and NOTREACHED where appropriate.
2003-08-04 22:31:21 +00:00
ross
dc5571b22e Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:21:55 +00:00
wiz
244247f8ff ANSIfy, KNF, [gs]etprogname. By Petri Koistinen. 2001-09-16 21:21:14 +00:00
kleink
2caf6aacdd For commands and utilities, use EXIT STATUS rather than RETURN VALUES as
appropriate (and documented in mdoc(7)).
2000-09-04 07:30:07 +00:00
hubertf
1cb54f68ac Add 'RETURN VALUE' section header. 2000-08-28 02:11:04 +00:00
mycroft
9dc385beb1 Delint. 1998-07-28 05:31:22 +00:00
cgd
bad15fd37f lint 1997-11-05 21:17:14 +00:00
enami
c3872193cf Fix .Nm usage. 1997-10-20 08:50:59 +00:00
christos
23edbe3557 Remove WARNS=1 from all the subdirectory Makefiles, and add it to Makefile.inc
now that all /bin has been cleaned.
1997-07-20 22:36:20 +00:00
christos
25b23032f5 Fix compiler warnings.
Add WARNS=1
1997-07-20 20:51:08 +00:00
jtc
23e6aab105 Use "utility" instead of "command". Modern definitions of these terms
are distinct (See POSIX.2 glossary).

A utility is a executable, script or shell builtin; while a command
can be any of those things plus lists, pipelines, compound commands
(if, for, while) and shell function definitions.
1995-07-25 19:36:36 +00:00
cgd
49f0ad8601 convert to new RCS id conventions. 1995-03-21 09:01:59 +00:00
mycroft
667b5ea158 Merge 4.4-Lite version. 1994-09-22 09:24:46 +00:00
jtc
f667148224 Skip trailing slashes, so "rmdir foo/" works even on systems without
a POSIX.1 compliant rmdir(2) syscall.
1994-04-28 00:03:18 +00:00
jtc
94024ca50d localization. 1993-12-31 19:29:02 +00:00
jtc
ed74d5578f Fixed bug caused by premature checkin. 1993-09-10 19:29:13 +00:00
jtc
f70a26bc0d Simplified (by removing unn 1993-09-10 19:07:05 +00:00
jtc
a1c1508c9b Note that rmdir(1) is POSIX.2 compliant.
Include appropriate header files to bring prototypes into scope.
Use new error/warning display functions.
1993-09-10 18:57:43 +00:00
mycroft
8542364e07 Add RCS identifiers. 1993-08-01 18:49:50 +00:00
mycroft
b1bd4afedc Add RCS indentifiers. 1993-08-01 07:42:49 +00:00
mycroft
cda4f8f6ee Add RCS identifiers. 1993-08-01 05:37:30 +00:00
jtc
07f439a7a5 Restore RCS Header. 1993-07-22 16:24:11 +00:00
jtc
ce9521b022 Make POSIX 1003.2 (D11.2) compliant.
Update manpage to use new -mandoc macros.
1993-07-22 16:21:14 +00:00
cgd
06be60083d changed "Id" to "Header" for rcsids 1993-03-23 00:22:59 +00:00
cgd
346aa5dd48 added rcs ids to all files 1993-03-22 08:04:00 +00:00
cgd
61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00