Re: Using terminal output as input
- From: Tzafrir Cohen <tzafrir@xxxxxxxxxxxxx>
- Date: Wed, 20 May 2009 13:37:36 +0000
On Tue, May 19, 2009 at 10:02:54AM -0500, Boyd Stephen Smith Jr. wrote:
AIUI, screen is quite scriptable and should be capable of sending output to
the process(es) attached to it. This would allow you to write "screen
scripts" that used the shell for what it is good at and used screen for what
it is good at.
And as you mentioned scripts, I'll mention script(1) again.
tzafrir@sweetmorn:~$ script /tmp/log
Script started, file is /tmp/log
tzafrir@sweetmorn:~$ which mozilla
/usr/bin/mozilla
tzafrir@sweetmorn:~$ exit
Script done, file is /tmp/log
tzafrir@sweetmorn:~$ cat /tmp/log
Script started on IDT 16:35:21 2009 מאי 20 ד'
tzafrir@sweetmorn:~$ which mozilla
/usr/bin/mozilla
tzafrir@sweetmorn:~$ exit
Script done on IDT 16:35:32 2009 מאי 20 ד'
--
Tzafrir Cohen | tzafrir@xxxxxxxxxx | VIM is
http://tzafrir.org.il | | a Mutt's
tzafrir@xxxxxxxxxxxxx | | best
ICQ# 16849754 | | friend
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- References:
- Using terminal output as input
- From: Dotan Cohen
- Re: Using terminal output as input
- From: Chris Jones
- Re: Using terminal output as input
- From: Dotan Cohen
- Re: Using terminal output as input
- From: Boyd Stephen Smith Jr.
- Using terminal output as input
- Prev by Date: Re: Convert HTML to PDF from CLI?
- Next by Date: Re: LVM how to
- Previous by thread: Re: Using terminal output as input
- Next by thread: Re: Using terminal output as input
- Index(es):
Relevant Pages
|