Hi, with the following lines the ksh93u upto ksh93v- 2014-06-25 do hang:
dd if=/dev/zero of=testfile.txt bs=1 count=65537
x=`cat testfile.txt | cat -`
... it works with count=65536 and/or
x=$(cat testfile.txt | cat -)
but AFAIK the backticks are very common and also supported.
Btw: Even a Ctrl-C does *not* interrupt the running ksh:
noether:~ # strace -p 31289
Process 31289 attached - interrupt to quit
write(1, "\0", 1) = ? ERESTARTSYS (To be restarted)
--- {si_signo=SIGINT, si_code=SI_KERNEL, si_value={int=1060230178,
ptr=0x7f943f31d422}} (Interrupt) ---
rt_sigreturn(0x7d6ef8) = -1 EINTR (Interrupted system call)
write(1, "\0", 1) = ? ERESTARTSYS (To be restarted)
Werner
--
"Having a smoking section in a restaurant is like having
a peeing section in a swimming pool." -- Edward Burr
pgpCu7_PFLcql.pgp
Description: PGP signature
_______________________________________________ ast-users mailing list [email protected] http://lists.research.att.com/mailman/listinfo/ast-users
