From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.swip.net ([192.71.220.11]) by hawkwind.utcs.toronto.edu with SMTP id <2706>; Mon, 21 Sep 1992 04:08:28 -0400 Received: by mail.swip.net (5.65c8/1.2) id AA11674; Mon, 21 Sep 1992 10:08:15 +0200 Received: from lynx.analytikerna by analytikerna.se (4.1/SMI-4.1) id AA05341; Mon, 21 Sep 92 09:25:44 +0200 Date: Mon, 21 Sep 1992 03:25:44 -0400 From: bk@analytikerna.se (Bengt KLEBERG) Message-Id: <9209210725.AA05341@analytikerna.se> To: rc@hawkwind.utcs.toronto.edu Subject: redirection confusion Greetings, With the low volume of traffic I hope that this will not be considered to simple a question to put forth. Could somebody tell me why my rc1.4 (gcc compiled) on a sparcELC does what I want for this (ie sends both stdout and stderr to more) { for ( i in */*.dbf) { ls -l $i ls -l `{echo $i | sed 's/dbf/tab/'} } } | more >[2=1] But not for this (ie does not send stdout and stderr to lpr) { for ( i in */*.dbf) { ls -l $i ls -l `{echo $i | sed 's/dbf/tab/'} } } | lpr >[2=1] Best Wishes, Bengt