Roland Mainz
2013-08-14 20:45:25 UTC
Hi!
----
It seems command substitutions are broken on ast-ksh.2013-08-14 on
Solaris 11/B145/AMD64/64bit.
The following testcase...
-- snip --
seq 10000000 >"tmpfile.expected"
s="${ print -- "$( s="${ /bin/cat "tmpfile.expected" | cat ; }" ;
/bin/cat <<<"${s}" )" ; }"
/bin/cat <<<"${s}" >"tmpfile.output"
diff -u "tmpfile.expected" "tmpfile.output"
-- snip --
... should let $ diff -u ... # report that there are no differences...
but it reports differences between "tmpfile.expected" and
"tmpfile.output" ... which should AFAIK not happen...
----
Bye,
Roland
----
It seems command substitutions are broken on ast-ksh.2013-08-14 on
Solaris 11/B145/AMD64/64bit.
The following testcase...
-- snip --
seq 10000000 >"tmpfile.expected"
s="${ print -- "$( s="${ /bin/cat "tmpfile.expected" | cat ; }" ;
/bin/cat <<<"${s}" )" ; }"
/bin/cat <<<"${s}" >"tmpfile.output"
diff -u "tmpfile.expected" "tmpfile.output"
-- snip --
... should let $ diff -u ... # report that there are no differences...
but it reports differences between "tmpfile.expected" and
"tmpfile.output" ... which should AFAIK not happen...
----
Bye,
Roland
--
__ . . __
(o.\ \/ /.o) roland.mainz at nrubsig.org
\__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
/O /==\ O\ TEL +49 641 3992797
(;O/ \/ \O;)
__ . . __
(o.\ \/ /.o) roland.mainz at nrubsig.org
\__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
/O /==\ O\ TEL +49 641 3992797
(;O/ \/ \O;)