Commit Graph

54 Commits

Author SHA1 Message Date
bde
66204cb45c Explicitly include <sys/types.h> before including <regex.h>. This is
apparently required by POSIX.  It will be required in practice when
the bogus inclusion of <sys/types.h> is removed from <stdio.h>.
1994-09-05 13:03:50 +00:00
dg
717ba38308 Added rtprio option/field.
Submitted by:	Henrik Vestergaard Draboel
1994-09-01 11:28:45 +00:00
bde
b1f1422cba Add dependencies on libraries to DPADD. Someday this should be done
automagically.  -lfoo has to be right to work, but ${LIBFO0} is too
easy to forget or misspell; nothing checks it and it should be
different for shared libraries.
1994-08-28 18:49:06 +00:00
ats
43c81e6ecd Reviewed by:
Submitted by:
Added the FTS_NOCHDIR flag to the fts-open call. This is needed, so that
the fts don't change the current directory for rm and subsequent calls
to rmdir with relative pathnames don't fail.
Pulled over the bugfix in 1.1.5.
1994-08-28 18:34:50 +00:00
ats
4025747aab Reviewed by:
Submitted by:
Oops, overlooked another typo in this man page.
1994-08-28 17:19:58 +00:00
ats
f521a288ed Reviewed by:
Submitted by:
Correct two typos in the format string usages.
1994-08-28 16:52:46 +00:00
bde
b5cb754048 Touch init.c after making it in case mkinit refused to touch it after not
changing it.  mkinit's attempted smartness about timestamps is mismatched
with the makefile.  init.o is compiled _twice_ the first time it is made...
1994-08-21 10:44:51 +00:00
dg
a523463cf1 Got rid of stupid warning message. 1994-08-18 14:35:23 +00:00
dg
7d3dc7b350 Got rid of extra space between args and (command). 1994-08-18 14:30:53 +00:00
dg
66f49bba7e The last commit was bogus...the putenv doesn't affect the parent process,
so the BLOCKSIZE doesn't need to be preserved.
Also initialized the flags variables, and used 1k instead of 1024 for
BLOCKSIZE.
1994-08-12 10:23:49 +00:00
dg
41ee6a1b1f Implemented the -k flag more properly...don't destroy the user's setting
of the BLOCKSIZE environment variable.
1994-08-12 07:26:52 +00:00
wollman
cccfb9e175 Make `ps' set-uid root so that it can read the same set of arguments
that old `ps'es did.  I'm not too thrilled about this, but I'm not
enough of an FS person to hack procfs so that /proc/xxx/mem is readable
by members of group `kmem'.  If this is done, then `ps' can go back to
being set-gid kmem.
1994-08-11 20:06:55 +00:00
wollman
e91992ca90 Gimme back my `-k' option!
Also document `-t' option in the usage message.
1994-08-10 19:21:07 +00:00
jkh
66df7afa1d WHOOPS! Put that back! Sorry, wrong Makefile.inc!
[slinks away embarassed].  It's NOSHARED again ("Gee, sorry about that
honey!  I could have *sworn* the safety was on!").

Reviewed by:
Submitted by:	jkh
1994-08-08 19:30:03 +00:00
jkh
0c8b714d56 Removed NOSHARED. "It's safe now, honey."
Reviewed by:
Submitted by:	jkh
1994-08-08 19:28:26 +00:00
jkh
8c2a8c27a5 The handling of err.h and const.h were in a real tangle and didn't
work if you didn't explicitly depend first; this should both simplify
things and make it work in all circumstances.
Reviewed by:
Submitted by:
1994-08-07 21:28:27 +00:00
wollman
e353050713 Fix some dependency bobbles. 1994-08-06 01:51:03 +00:00
wollman
309ec8decd Disable Kerberos for now. 1994-08-06 01:48:36 +00:00
wollman
d44f600dca Fix makefiles for our macros. 1994-08-05 17:02:31 +00:00
dg
17e7606224 Converted 'vmunix' to 'kernel'. 1994-08-05 09:14:37 +00:00
phk
2583ca0bad Submitted by: phk
Got rid of a couple of binary files by uuencoding.  49 more to go.
BTW: ed(1) seems to have an exit(2) problem, 5 tests fail.
1994-07-23 18:14:06 +00:00
rgrimes
b8dbcb3015 Need ${LDFLAGS} one more place. 1994-05-30 13:59:50 +00:00
rgrimes
98c9ded959 Need to sue ${LDFLAGS} when building local binaries so they get built
static if ${NOSHARED}==YES.  This makes it easier to bootstrap a system.
1994-05-29 12:43:06 +00:00
rgrimes
94e5f0315d Do not build /bin shared 1994-05-28 03:55:41 +00:00
rgrimes
b65ae149ea BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
rgrimes
fd10fe931b This commit was generated by cvs2svn to compensate for changes in r1556,
which included commits to RCS files with non-trunk default branches.
1994-05-26 06:18:55 +00:00
rgrimes
e3cfc8ce61 BSD 4.4 Lite bin Sources 1994-05-26 06:18:55 +00:00
jkh
3136eddb2e Fix gross spelling and typographical errors pointed out by Keith Bostic. 1994-04-24 01:22:07 +00:00
jkh
6c04efbb81 Fix gross spelling and typographical errors pointed out by Keith Bostic. 1994-04-24 01:06:32 +00:00
alm
41365ddbb4 use umask 077 for buffer file 1994-03-23 04:36:59 +00:00
rich
87de824147 Take -lgnuregex back out. Linking with it causes 'make install' to fail. 1994-02-03 04:23:11 +00:00
alm
8f826dd116 Fixed range address bug: 1,2, == 2,2 not 2,.
Overhauled the name space,  reworked some modules and removed the
obsolescent Addison-Wesley copyright.
1994-02-01 00:36:28 +00:00
jtc
b3d35c1152 Document the new, less restrictive, behavior of the matching operator. 1993-10-04 22:07:27 +00:00
jtc
e49952d2b7 Allow expressions like "expr 'ABC' : '^.*$' to work as is done in other
expr implementations.
1993-10-04 21:58:53 +00:00
jtc
4b9de3ffe1 Fix grammar to eliminate support for unary minus expressions -- they
weren't supported, they aren't standard, and they caused expr to dump
core.
1993-09-14 22:49:52 +00:00
alm
e07ef14414 Renamed some files that were giving SUP trouble. 1993-08-27 22:15:16 +00:00
alm
f3e9e39230 Only a single slash (/) is now necessary to repeat a search as per Theo's
request.  So the command:
/pattern/;/
finds the second line containing "pattern" after the current line.
Caveat: The commands `st' and `sr'  are now both legal and have very
different meanings.  This is because ed(1) extends POSIX to include the
old Berkeley syntax s[rgp]*.
(So should two slashes still be required in the case of the substitute
command, as SunOS ed does?)
1993-08-27 22:14:24 +00:00
jtc
e8b47fda70 1003.2 requires that lexical comparisons be done in locale specific manner,
so we have to use strcoll() instead of strcmp().
1003.2 requires that a null string be returned if a string does not match
a \( \) subexpression.
Replaced fprintf/exit with calls to err and errx as appropriate.
1993-08-17 16:06:00 +00:00
alm
cf9640baad Nullify pattern after failed regcomp 1993-08-16 09:30:18 +00:00
alm
17db6ec525 added (unsiged) cast to avoid int overflow
removed REGEX directive
1993-08-09 21:34:11 +00:00
conklin
d0b0781995 Remove GNU regex.[ch] and use system's regex library. The library is still
GNU regex for now, but will be replaced as soon as an alternative is made
availiable.
1993-08-02 16:57:26 +00:00
conklin
6457650d8e Remove -I${.CURDIR}, as we now use system's regex.h 1993-08-02 16:43:54 +00:00
conklin
ba1be23197 Use ./foo.sh, so scripts work if . is not in $PATH. 1993-08-02 16:42:08 +00:00
conklin
0de21dda44 Use system's posix compliant regex library (GNU regex for now). 1993-08-02 16:40:59 +00:00
conklin
063d55cdef install new manual page 1993-07-21 23:07:02 +00:00
conklin
034cd12e8f Update to my latest expr (fixes bugs with comparison and matching operators)
Add man page I wrote.
1993-07-21 22:56:14 +00:00
nate
a3fa63faa7 Libcrypt upgrade 1993-07-20 22:57:03 +00:00
alm
aef1ca7871 Consolidate mark code - no functional changes or fixes. 1993-07-02 06:16:28 +00:00
alm
5288f1defa fixed undo within a global command (would corrupt the buffer)
changed move within a global to behave as in SunOS
added a couple error messages
1993-06-26 06:47:21 +00:00
alm
540729fc85 added POSIX regex to expr 1993-06-19 01:55:46 +00:00