Mail Archives: djgpp/2001/10/18/12:58:06
Can anyone confirm the following behavior
with the djgpp port of bash 2.04? TIA/jtw
djdev 2.03; bash 2.04
---------------------
% bash --version
GNU bash, version 2.04.7(2)-release (i386-pc-msdosdjgpp)
Copyright 1999 Free Software Foundation, Inc.
% foo -x -y -z
foo: before bar: n=3
bar: n=3
bar: shift 1: n=2
bar: shift 2: n=1
foo: after bar: n=3 <- n=3 !?
Solaris
-------
kendall% bash --version
GNU bash, version 2.04.0(1)-release (sparc-sun-solaris2.7)
Copyright 1999 Free Software Foundation, Inc.
% foo -x -y -z
foo: before bar: n=3
bar: n=3
bar: shift 1: n=2
bar: shift 2: n=1
foo: after bar: n=1 <- n=1 (as expected)
- Raw text -