tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Ken McCoy <kenm () apscn ! k12 ! ar ! us>
To: tru64-unix-managers
Subject: bug in while-do/done and rsh in shell scripts ????
Date: Thu, 08 Jan 1998 15:56:55 +0000	[thread overview]
Message-ID: <96078654410717.tru64-unix-managers.marc@archive.invalid> (raw)

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.

                 reply	other threads:[~1998-01-08 15:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox