added string.h
Obey PATH=newpath command
Instead of special casing SIGKILL, pretend that trap succeeded every time sigaction failed [suggested by mycroft]
Fake trapping SIGKILL, because we know it will fail.
fixed FOO=1 . ./foo; echo $FOO where foo contained echo $FOO I.e. variable assignments were not honored is the source command.
$ ); echo $? echoed 0,all other shells echo 2. Now we set the exitstatus to 2 for all EXERROR errors. Also I changed the exitstatus to 1 when a command is not found to comply with historical pract
$ ); echo $? echoed 0,all other shells echo 2. Now we set the exitstatus to 2 for all EXERROR errors. Also I changed the exitstatus to 1 when a command is not found to comply with historical practice.
show more ...
Fixed ${#} which was incorrectly parsed as ${#var}
fixed bug false
Fix new bug where if exitstatus was not correct if condition failed
fixed so that existatus is preserved in x=`false`
delete printf.o
add fd >&$var fix
misc cleanup
No changes
merged netbsd changes
date and time created 95/05/04 17:59:13 by christos
date and time created 95/05/04 17:59:12 by christos
add the documented in the manual but not implemented variableexpansions.From: Christos Zoulas <christos@deshaw.com>
prettiness policeFrom: Charles Hannum <mycroft@NetBSD.ORG>
This patch fixes some broken behavior with empty commands in sh,e.g. ";<CR>", ">foo;<CR>", "(>foo)" are now correctFrom: Charles Hannum <mycroft@sun-lamp.cs.berkeley.edu>
J.T. Conklin's changes for signals mean that we don't need allof the random signal crap any longer
getpgrp no longer takes an argumentthe copyright notice was messed up quite a bit
1234567891011