[ILUG] Potentially useful tiny app we wrote

P at draigBrady.com P at draigBrady.com
Wed Jan 21 10:01:48 GMT 2004


Colm MacCarthaigh wrote:
> sexec;
> 
> 	http://ftp.heanet.ie/pub/heanet/sexec.tar.gz
> 
> Run it as: 
> 
> 	sexec [-x] the-program-you-want-to-run [args ...]
> 
> It will attach itself to the standard output and error of the process
> and colourise them, making stdout green , and stderr red.

very cool.
Something related is a simple patch I did to bash to
seperate the interactive stuff (prompt etc.) from stderr,
allowing you to process the stderr specially.
http://mail.gnu.org/archive/html/bug-bash/2001-08/msg00040.html
I guess this would allow you to `sexec bash` ?

-- 
Pádraig Brady - http://www.pixelbeat.org
--- Following generated by rotagator ---

Tracking your reboots

To know the history of your last few re-boot sequences:
   last reboot
last looks back in the wtmp file for all logins. The pseudo
user "reboot" also logs in at all reboots of the system
--




More information about the ILUG mailing list