Hi,
we've found that following script print every time different output:
#!/bin/ksh
function tvar {
ls -l testf
cat - > testf
cat testf
rm testf
}
ls -l testf
print ABCDE | tvar
#COMMENT
In ksh 2008-11-04 output looks like this (every time):
$ ./test.sh
ls: cannot access testf: No such file or directory
ls: cannot access testf: No such file or directory
ABCDE
but in beta 2009-01-20 (and in latest 2009-03-10) output looks like this:
$ ./test.sh
ls: cannot access testf: No such file or directory
-rw-r--r-- 1 root root 6 2009-04-09 15:01 testf
ABCDE
$ ./test.sh
ls: cannot access testf: No such file or directory
ABCDE
-rw-r--r-- 1 root root 0 2009-04-09 15:01 testf
$ ./test.sh
ls: cannot access testf: No such file or directory
ABCDE
-rw-r--r-- 1 root root 6 2009-04-09 15:01 testf
$ ./test.sh
ls: cannot access testf: No such file or directory
-rw-r--r-- 1 root root 6 2009-04-09 15:01 testf
ABCDE
$ ./test.sh
ls: cannot access testf: No such file or directory
ls: cannot access testf: No such file or directory
ABCDE
Regards,
Michal Hlavinka
PS: is there any ETA for new (beta) version?
_______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers