Public bug reported:

Hello, I would normally PR straight to the source, but I could not work
out where that is.

watch seems to react to terminal resizes (good). But this is not
documented in the man page. This is an issue if the user actually wants
that command to only run at the specified cadence. IE it is expensive or
dangerous. A flag to disable would be nice, but really just documenting
is enough.

Confirm with:

watch -n60  'echo $(( $(cat f) + 1 )) | sponge f; cat f'

and resize your window

** Affects: procps (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1812943

Title:
  undocumented watch reacts to sigwinch or terminal resize

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/procps/+bug/1812943/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to