From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076333621616.tru64-unix-managers.marc@archive.invalid> From: David R Courtade Date: Thu, 27 Jun 1996 14:11:24 +0000 To: tru64-unix-managers Subject: Summary- Problem in sh - while and rsh X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076333621616 Thanks for the quick response from Mike Matthews (included below). I did look at the man page, but it didn't quite sink in. rsh -n fixes the problem. The list comes through again. Feeling happy but silly, ============================================================================== David R. Courtade System Administrator Amherst Systems Inc. 30 Wilson Rd. Buffalo, N.Y. 14221 Phone: (716)631-0610 FAX: (716)631-0629 Email: drc@amherst.com >From matthewm@sgate.com Thu Jun 27 09:58:39 1996 Date: Thu, 27 Jun 1996 09:55:03 -0400 (EDT) From: Michael Matthews To: David R Courtade Subject: Re: Problem in sh - while and rsh On Thu, 27 Jun 1996, David R Courtade wrote: > Good Morning (here), > I have a bit of a problem with DU 3.2c, and 3.0. I have a shell script > which reads a file and then does an rsh ( it's used for dumps, if you > care). I read the file in a while loop. The loop works fine without the > rsh, but if there is an rsh in the while loop the next read is null. > Anybody have any clue if I'm doing something wrong: I'll include an > example of the script, and the file read: rsh eats up the rest of stdin. To fix, just rsh -n. --- Mike Matthews, Mike_Matthews@sgate.com (NeXTmail accepted) PGP public key available on request