bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

redirecting output and input in mid job


From: Dan Jacobson
Subject: redirecting output and input in mid job
Date: 09 Jul 2002 09:36:03 +0800
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

here's some ideas for your deluxe edition:
$ (while sleep 3; do echo o; done)&
$ fg -o file #exec job's 1> file
$ fg -a file #appends
$ bg -a file
$ bg \< file #or -i, or -fd 1, 2 , 0 etc. or /dev/stderr ...
etc. etc. i.e. redirecting output and input in mid job.
or something like that.  in case you can't do this already.
-- 
http://jidanni.org/ Taiwan(04)25854780



reply via email to

[Prev in Thread] Current Thread [Next in Thread]