On Monday 04 March 2002 19:27, Robert C. Paulsen Jr. wrote:
In the spirit of open source, here is an update to your script. I ran into a problem after killing your script (with Ctrl-C) -- the fifo was left open but no one was writing to it so it caused my mail program (mutt) to hang. The update ensues that the fifo is removed when the script ends. See the section with the comment "# Be sure pipe is deleted upon exit."
And if you are using KMail, just use this simpler script, and check the "The file is a program" box: #!/bin/bash #KMail sig generator echo " Sig: line 1" echo " Sig: line 2" uptime -- Regards, Malcolm KMail l.3.1 -- KDE 2.2.2 -- SuSE Linux 7.3 12:25pm up 1 day, 5:11, 1 user, load average: 0.23, 0.11, 0.03 Remove the dots to email me