🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Andrew Moore Tue, 08 Sep 1992 02:48
"tee | bash -i" doesn't work?
#877
Author: Andrew Moore
Date: Tue, 08 Sep 1992 02:48
20 lines
834 bytes
[Sorry if this is an FAQ.  Is an FAQ available?]

$ tee | sh -i

works and

$ tee | bash -s

works, but I can't seem to get out of:

$ tee | bash -i

This is true of ash and ksh as well.  I want to use the construct to
create a log file without screen:

$ tee -a log | bash -i 2>&1 | tee -a log

Is this behaviour a bug in bash or in sh?  Or am I leaving something
out?  Thanks.
-Andrew Moore <alm@netcom.com>
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads