summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* let the "exit" command return status when it is implicitadam1996-09-081-2/+4
|
* eek, how did that happen? I must have committed something left over frompeter1996-09-031-4/+4
| | | | when I was experimenting looking for an alternate format. *blush*
* Fix for PR#1287. This makes sh behave sensibly in case statements in thepeter1996-09-0313-49/+56
| | | | | | | | | | | | | | face of aliases. Note, bash doesn't do aliases while running scripts, but "real" ksh does.. Also: Reduce redundant .Nm macros in (unused) bltin/echo.1 nuke error2, it's hardly used. More -Wall cleanups dont do certain history operations if NO_HISTORY defined handle quad_t's from resource limits Submitted by: Steve Price <sprice@hiwaay.net> (minor tweaks by me)
* Misc cleanups and fixes from Bruce:peter1996-09-034-29/+40
| | | | | | | | | | - don't put \n on error() calls, error adds it already. - don't prepend "ulimit" on error() calls in miscbltin.c. - getopt typo on ulimit -p -> -u conversion - get/setrlimit() calls were not being error checked ulimit formatting cleanup from me, use same wording as bash on Bruce's suggestion. Add ulimit arg to output on Joerg's suggestion.
* oops, I didn't mean for the unconditional DEBUG code to go in, it's beenpeter1996-09-012-5/+5
| | | | | off in FreeBSD for some time. I realised this a few seconds after the commit started..
* Merge of 4.4-Lite2 sh source, plus some gcc -Wall cleaning. This is apeter1996-09-0172-2040/+2136
| | | | | | | | | | | | | | merge of parallel duplicate work by Steve Price and myself. :-] There are some changes to the build that are my fault... mkinit.c was trying (poorly) to duplicate some of the work that make(1) is designed to do. The Makefile hackery is my fault too, the depend list was incomplete because of some explicit OBJS+= entries, so mkdep wasn't picking up their source file #includes. This closes a pile of /bin/sh PR's, but not all of them.. Submitted by: Steve Price <steve@bonsai.hiwaay.net>, peter
* [HISTORY] command appeared in Version 1 AT&T UNIXwosch1996-08-2912-15/+60
| | | | Obtained from: A Quarter Century of UNIX, Peter H. Salus, page 41
* set error status on exit, to be consistent with manpage and standard commands.adam1996-08-271-2/+6
|
* sync copyright with /usr/share/examples/etc/bsd-style-copyrightwosch1996-08-271-2/+25
|
* [HISTORY]wosch1996-08-221-3/+7
| | | | | | | | | cat command appeared in Version 1 AT&T UNIX, not Version 6 Apparently the cat man page was the first written man page Obtained from: A Quarter Century of UNIX, Peter H. Salus [BUGS] fix a typo
* Take out 0201-0207 range - those characters abused by shache1996-08-122-5/+6
|
* Convert to newly added collate compare functionache1996-08-121-36/+4
|
* Convert to newly added collate compare functionache1996-08-121-40/+4
|
* Simplify expressionache1996-08-121-2/+2
|
* Use collate for alpha character rangesache1996-08-121-3/+37
|
* Fix unsetenv of locale variableache1996-08-111-5/+5
|
* Localize itache1996-08-114-12/+96
|
* Pick collate info for RE character rangesache1996-08-111-2/+2
|
* Localize itache1996-08-112-12/+14
| | | | 8bit cleanup
* chmod(2) directories once only (was twice)adam1996-08-101-6/+5
|
* Updated to match kernel changes for timer/run queue.dg1996-07-311-2/+2
|
* add a reference to killall(1)wosch1996-07-031-1/+2
|
* The default swap device is /dev/drum, not /dev/swapmpp1996-07-031-2/+2
| | | | | | as ps.1 states. Submitted by: Zahemszhky Gabor <zgabor@code.hu>
* Fix some minor formatting problems in some examples.mpp1996-07-031-3/+3
| | | | Obtained from: Partially obtained from NetBSD-bugs mailing list
* Make %CPU add up closer to 100%.. At least, it now agrees with top.. :-)peter1996-06-291-3/+4
| | | | Pointed out by: bde
* Fix (I think) the %MEM count in 'ps -u'. It was bogusly taking thepeter1996-06-291-2/+2
| | | | | vm_rssize (in pages, not bytes), then dividing (bogusly) by the page size, then using that as a fraction of the total pages.
* Bring in my changes for removing the pestilent obj links (unless youjkh1996-06-243-9/+9
| | | | | really want them) from /usr/src. This is the final version of the patches, incorporating the feedback I've received from -current.
* Add a better TEST script. I was surprised how much can be wrongwosch1996-06-192-0/+133
| | | | with program test(1) or builtin test(1).
* Backup yacc changes.phk1996-06-022-5/+4
|
* Backout yacc changesphk1996-06-021-2/+6
|
* Use new yacc rules. (I'm fixing the tree as fast as I can :-)phk1996-05-302-6/+7
|
* Use default yacc rule.phk1996-05-301-7/+3
|
* This commit was generated by cvs2svn to compensate for changes in r15920,peter1996-05-273-0/+168
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import the 4.4BSD-Lite2 /bin/sh sourcespeter1996-05-2766-1222/+2226
| | | | | | | | | | | | | | | | Requested by: joerg (Note, this is mostly going to be conflicts, which is expected. Our entire sh source has a mainline, so this should not change anything except for a few new files appearing. I dont think they are a problem)
* | Nuke the undocumented -F flag, since it doesn't do anything anymore.peter1996-05-241-9/+6
| | | | | | | | | | It used to allow root to hard-link directories (and screw up programs that expexted the ".." entry to point to the parent dir)
* | Output line count to stdout. Complies to POSIX.2.tg1996-05-231-3/+3
| | | | | | | | Reviewed by: joerg
* | ``mv'' -> ``mv -f''wosch1996-05-071-2/+2
| | | | | | | | | | ``rm'' -> ``rm -f'' so mv/rm may not ask for confirmation if you are not root
* | CLSIZE -> getpagesize()phk1996-05-021-2/+2
| |
* | Replace NBPG with getpagesize()phk1996-05-021-3/+3
| |
* | Fix up the badly out of date struct proc's p_flags.smpatel1996-04-191-39/+22
| | | | | | | | Flags aren't printed in hexadecimal, as documented.
* | Correct some cross references and some path names.mpp1996-04-062-4/+4
| |
* | For nonexisten time use proper diagnostic instead of bad format and usageache1996-04-061-2/+2
| |
* | Use unsigned char for isprintache1996-03-311-2/+2
| |
* | Fixed typo.bde1996-03-311-2/+2
| | | | | | | | Reported by: andreas@knobel.gun.de
* | Fix 'stutter' in manpage.nate1996-03-121-2/+2
| | | | | | | | | | | | | | The man page for date(1) talks about "a a" maximum, not just "a" maximum. Submitted by: Simon Burge <simonb@telstra.com.au> via NetBSD GNATS
* | err() --> errx() for non-errno related failures.joerg1996-03-111-3/+3
| |
* | Option -f implemented (remove + create)wosch1996-03-084-17/+37
| | | | | | | | | | | | | | | | | | option -f and -i are exclusive respond `Y' is equal to `y' fix usage string remove isatty(3) check Reviewed by: pst
* | fix usage stringwosch1996-03-072-4/+20
| | | | | | | | | | | | respond `Y' is equal to `y' Add a note how to delete file name with beginning `-'
* | delete unused label endargwosch1996-03-011-9/+8
| | | | | | | | | | correct indent of last new code fix usage string, option -f before option -i (alphabetic order)
* | option -f and -i are exclusive (Posix)wosch1996-02-202-9/+29
| | | | | | | | | | | | respond `Y' is equal to `y' update usage string prompt only if source exist
OpenPOWER on IntegriCloud