ref: 4b95f4f4f1f3caae8e09e16f9bcd4af303a33a8b dir: /watch/
#!/bin/rc # calls a command every second, replacing its output with the new one rfork ne a0='' while(){ a=`"{$*} echo -n $a0 | tr -c '' '\x08' echo -n $a a0=$a sleep 1 }