I started to list my favourite features (procedures, splitting, pattern matching, case) of rc, but I was just replicating the man page. I like rc because I can use it and understand scripts I haven't written, it is surprise free.
I've also recently started making more use of signals.

I spawn firefox to grab it's output with inferno via vnc but sometimes the page never finishes loading so I have to kill it something like this :

fn sigalrm {
   kill_firefox_sleep_and_screengrab
}

sleep 200 && kill -ALRM $pid
firefox $url &
screengrab_when_appropriate &
wait
kill -ALRM $pid




Reply via email to