| #
29cad877 |
| 02-Sep-1996 |
christos <christos@NetBSD.org> |
Don't infinite loop with: unset var echo ${var:=}
|
| #
d3aec206 |
| 12-Feb-1996 |
christos <christos@NetBSD.org> |
Fix PR/2070: Ksh style variable modifiers were broken in /bin/sh, from enami tsugutomo
|
| #
fbac2e9d |
| 15-May-1995 |
christos <christos@NetBSD.org> |
Fixed new bug the previous fix introduced:
false foo=bar echo $?
would print 1 Also fixed the long standing bug:
false echo `echo $?`
would print 0 The exitstatus needs rethin
Fixed new bug the previous fix introduced:
false foo=bar echo $?
would print 1 Also fixed the long standing bug:
false echo `echo $?`
would print 0 The exitstatus needs rethinking and rewriting. The trial and error method is not very efficient
show more ...
|
| #
07bae7ed |
| 11-May-1995 |
christos <christos@NetBSD.org> |
Merge in my changes from vangogh, and fix the x=`false`; echo $? == 0 bug.
|
| #
49f0ad86 |
| 21-Mar-1995 |
cgd <cgd@NetBSD.org> |
convert to new RCS id conventions.
|
| #
5c42185b |
| 28-Feb-1995 |
christos <christos@NetBSD.org> |
Oops... typo in the IFS previous fix.
|
| #
6ab19545 |
| 28-Feb-1995 |
christos <christos@NetBSD.org> |
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`"
|
| #
3936aab0 |
| 28-Feb-1995 |
christos <christos@NetBSD.org> |
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 ordin
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}:".
show more ...
|
| #
ad8d5369 |
| 23-Jan-1995 |
christos <christos@NetBSD.org> |
I added the documented in the manual but not implemented variable expansions:
${#WORD} ${WORD%PAT} ${WORD%%PAT} ${WORD#PAT} ${WORD##PAT}
|
| #
5dad1439 |
| 04-Dec-1994 |
cgd <cgd@NetBSD.org> |
from James Jegers <jimj@miller.cs.uwm.edu>: quiet -Wall, and squelch some of the worst style errors.
|
| #
d22a5147 |
| 29-Aug-1994 |
mycroft <mycroft@NetBSD.org> |
Fix problem with character classes matching a terminating NUL, from Henry Spencer.
|
| #
cafd1f7e |
| 11-Jun-1994 |
mycroft <mycroft@NetBSD.org> |
Add RCS ids.
|
| #
a81e4124 |
| 12-May-1994 |
jtc <jtc@NetBSD.org> |
Include appropriate header files to bring function prototypes into scope.
|
| #
37ed7877 |
| 11-May-1994 |
jtc <jtc@NetBSD.org> |
sync with 4.4lite
|
| #
c823b55c |
| 22-Oct-1993 |
mycroft <mycroft@NetBSD.org> |
Last patch was wrong; just save argbackq around the argstr() call.
|
| #
718ac53f |
| 22-Oct-1993 |
mycroft <mycroft@NetBSD.org> |
evalvar(): If subtype is VSASSIGN (or VSQUESTION), argstr() already rolled forward the backquote queue. If VSQUESTION it doesn't matter because we already exited with an error.
|
| #
8542364e |
| 01-Aug-1993 |
mycroft <mycroft@NetBSD.org> |
Add RCS identifiers.
|
| #
5916a085 |
| 02-May-1993 |
sef <sef@NetBSD.org> |
Jim "wilson@moria.cygnus.com" Wilson's patches to make C News (and other things) work.
|
| #
06be6008 |
| 23-Mar-1993 |
cgd <cgd@NetBSD.org> |
changed "Id" to "Header" for rcsids
|
| #
346aa5dd |
| 22-Mar-1993 |
cgd <cgd@NetBSD.org> |
added rcs ids to all files
|
| #
61f28255 |
| 21-Mar-1993 |
cgd <cgd@NetBSD.org> |
initial import of 386bsd-0.1 sources
|