From: bk@analytikerna.se (Bengt KLEBERG)
To: rc@hawkwind.utcs.toronto.edu
Subject: redirection confusion
Date: Mon, 21 Sep 1992 03:25:44 -0400 [thread overview]
Message-ID: <9209210725.AA05341@analytikerna.se> (raw)
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
next reply other threads:[~1992-09-21 8:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1992-09-21 7:25 Bengt KLEBERG [this message]
1992-09-21 14:48 Tom Culliton x2278
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9209210725.AA05341@analytikerna.se \
--to=bk@analytikerna.se \
--cc=rc@hawkwind.utcs.toronto.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).