Commit Graph

428 Commits

Author SHA1 Message Date
christos 6ee2193d9a Reverted to set - turning off -x and -v. Charles corrected me... It is part
of POSIX.
1995-03-26 17:25:10 +00:00
christos ad1f891148 set -
does not anymore clear the -x and -v flags. This was incompatible with
all other bourne shell implementations.
1995-03-25 23:45:24 +00:00
mycroft ca80d8a15f Rearrange Kerberos stuff. 1995-03-23 08:46:35 +00:00
mycroft 6bfd77e432 Fix typo in previous. 1995-03-23 00:01:03 +00:00
mycroft 7b38403c89 Use POSIX signals. 1995-03-21 18:35:32 +00:00
mycroft 3e417cced4 Use sigprocmask(), not sigsetmask(). 1995-03-21 15:40:16 +00:00
mycroft c39128a12d Remove dead externs. 1995-03-21 14:51:58 +00:00
mycroft ffe9a4ccf0 Update to use timer{add,sub}(). 1995-03-21 13:55:23 +00:00
cgd 49f0ad8601 convert to new RCS id conventions. 1995-03-21 09:01:59 +00:00
cgd 6ff461a4e8 actually do the import. rcp appears to have been previously imported
but not merged(?!?!?).
1995-03-21 08:18:58 +00:00
cgd e150dc2818 clean up slightly; id tags, alphabetization, prototypes, etc. 1995-03-21 07:28:51 +00:00
cgd 930fffb85d clean up id tags 1995-03-21 07:08:15 +00:00
cgd a86f3aeda3 clean up Id's, and such. reorganize man page slight to match lite's org. 1995-03-21 07:03:50 +00:00
cgd df247e9b94 merge with lite 1995-03-21 06:57:43 +00:00
cgd 7248fa283f clean up id tags, etc. 1995-03-21 02:08:51 +00:00
jtc da08b16c49 Changed to accept ``kill -0 pid'' (PR #842). 1995-03-17 05:48:48 +00:00
jtc 6c6b9acef0 Revert to code before it was merged with 4.4lite.
Updated to conform to new NetBSD RCS ID conventions.
1995-03-01 07:52:23 +00:00
mycroft 4c34be6b52 Clean up deleted files. 1995-03-01 00:00:00 +00:00
christos 5c42185b5c Oops... typo in the IFS previous fix. 1995-02-28 23:27:24 +00:00
christos 6ab1954578 Changed so that backquote expansion eats all trailing newlines, not just
the last one.
Reported by guido@gvr.win.tue.nl (Guido van Rooij).
Repeat By:

	echo "`cat file-with-many-newlines`"
1995-02-28 23:09:43 +00:00
christos 3936aab031 Changed IFS string-splitting so that it breaks spaces even when IFS does not
begin with a space, but contains one. Fixes PR bin/809.

        #!/bin/sh
        list="a  b c "
        echo "With ordinary IFS"
        for i in $list;do
            echo $i
        done
        IFS=":${IFS}"
        echo "With changed IFS"
        for i in $list;do
            echo $i
        done

Note that before the fix ":${IFS}" behaved differently than "${IFS}:".
1995-02-28 22:46:12 +00:00
mycroft 705a6ebacb Use S_IS*(). 1995-01-30 19:39:36 +00:00
mycroft f5ad44b6ac Use S_IS*(). 1995-01-30 19:30:13 +00:00
mycroft cfbbe9b764 Document the `-t' option as in umount(8). 1995-01-30 18:14:55 +00:00
mycroft c3b978fa44 Various:
* Redo `-t' handling like mount(8) and umount(8).
* Don't force a stat of every fs unless we need it.
* When using an explicit list, stat everything before printing anything, and
minimize the column width.
1995-01-30 18:10:51 +00:00
mycroft 89fb48a178 Fix core dump reported by Wolfram Schneider. 1995-01-26 06:01:36 +00:00
hpeyerl b4c2155aa1 ECBDIC->EBCDIC 1995-01-23 18:21:48 +00:00
christos ad8d5369f5 I added the documented in the manual but not implemented variable expansions:
${#WORD}
    ${WORD%PAT}
    ${WORD%%PAT}
    ${WORD#PAT}
    ${WORD##PAT}
1995-01-23 06:33:03 +00:00
mycroft 4d643bf207 Remove `.' from default PATH. 1995-01-20 18:21:16 +00:00
mycroft c4459d08d9 Clean up deleted files. 1995-01-15 10:15:19 +00:00
mycroft 2425ddde47 Remove the gratuitous `security' warnings. 1995-01-15 09:47:36 +00:00
mycroft 4bcd14e0b4 Remove the gratuitous `security' warning. 1995-01-15 09:29:16 +00:00
mycroft 9154deaefa Stay on the correct line at the end of a substitute command. From Andrew Moore. 1995-01-15 06:18:29 +00:00
mycroft 71dcdbe0d4 Change directory permissions in pre-order. 1995-01-15 05:50:26 +00:00
mycroft 720e729421 Add `-t' option from Matthew Green, hacked a bit by me. 1995-01-13 23:23:41 +00:00
jtc cc9fe5ba6d Describe the : shell builtin.
Fixes PR #712.
1995-01-12 23:35:56 +00:00
mycroft ddc6e993fc Better fix for the previous. 1995-01-08 07:01:36 +00:00
mycroft 3f1b5c3296 Fix oversight in previous change, when argument list is sort of empty. 1995-01-08 06:42:42 +00:00
mycroft e848bd4fb5 Fix that last bug in a less expensive way. 1994-12-31 23:56:54 +00:00
cgd 809218efc4 take two: make grabstackstr() work correctly, in the face of strange filling. 1994-12-31 01:56:16 +00:00
mycroft 1c21834ccb Remove previous misguided change. 1994-12-30 06:33:59 +00:00
mycroft 0155aa3b5e Mostly sync with CSRG. 1994-12-28 01:37:49 +00:00
mycroft d966913f57 Sync with CSRG. 1994-12-27 23:14:46 +00:00
cgd 58f1733118 be more careful with casts. 1994-12-23 13:24:39 +00:00
cgd 42f0dae5e3 pull prototypes into scope for string functions. 1994-12-23 13:24:10 +00:00
cgd 17ed2a67b2 pull some prototypes into scope. 1994-12-23 13:22:13 +00:00
cgd e9aebcc9d8 don't play fast and loose with memory block allcation. try to allocate
in more-round sizes, but realize that not everybody will fill them up
exactly.
1994-12-23 13:21:01 +00:00
cgd db1ae625b5 eliminate two wrong-sized variables which were unused. 1994-12-23 13:20:10 +00:00
cgd 6abb26e555 be careful with addresses. 1994-12-23 13:19:41 +00:00
cgd f04c743d2d be careful with pointer types. 1994-12-23 13:18:20 +00:00