Dear OpenBSD Team,

I am excited to submit a feature request for OpenBSD!

Feature: watch(1) utility

Feature Description: watch(1) runs command repeatedly, displaying
its output and errors (the first screenfull). This allows you to
watch the program output change over time. By default, command is
run every 2 seconds and watch will run until interrupted.

Sample Code: my naive implementation
https://github.com/ssleert/watch/blob/master/watch.c
if you need it I can add a man page and fix the style guide
and try to add to sources and send the diff file.

If there are any problems with the code,
let me know and I will try to fix them.

Thanks for your consideration,
Simon

Reply via email to