* bug in while-do/done and rsh in shell scripts ????
@ 1998-01-08 15:56 Ken McCoy
0 siblings, 0 replies; only message in thread
From: Ken McCoy @ 1998-01-08 15:56 UTC (permalink / raw)
To: tru64-unix-managers
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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1998-01-08 15:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-01-08 15:56 bug in while-do/done and rsh in shell scripts ???? Ken McCoy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox