From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078654410717.tru64-unix-managers.marc@archive.invalid> From: Ken McCoy Date: Thu, 08 Jan 1998 15:56:55 +0000 To: tru64-unix-managers Subject: bug in while-do/done and rsh in shell scripts ???? X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078654410717 Hello all, Following is a short shell script that always bombs out after the rsh line. Does anyone know if this is a bug, and if so is there a way around it. I've tried both the k and c shells to no avail. The do loop should execute about 100 times in my example, but after the first loop it just drops back to the command prompt. ======================================== ls| while read line do rsh xhost ls -al /soft/bin/$line done ===================================== Thanks ------------------------------------ Ken McCoy Arkansas Public School Computer Net.