From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078715811466.tru64-unix-managers.marc@archive.invalid> From: Serge MUNHOVEN Date: Thu, 02 Jul 1998 15:49:20 +0000 To: tru64-unix-managers Subject: ksh command grouping and file-descriptors X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078715811466 Dear Digital UNIX gurus, While modifying a script for POSIX-sh, which happens to be ksh, I came accros a problem which melts down to what is reported below (sorry for the lengthy output). Note that: - POSIX/ksh was initially required for some features not available in sh; - command grouping (...) is required because the actual script is more evolved than a simple while-do loop; - the current version now runs under plain sh, so there is no longer a problem for me. I'd just like to know if this is "a bug or a feature", or just bad shell syntax on my account ... % cat readabc echo "=== ... << ===" while read A B C; do echo $A $B $C; done <