Timeline for watch -n1 $() does not run $() every interval
Current License: CC BY-SA 4.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 13, 2023 at 22:13 | vote | accept | stacking and exchanging woohoo | ||
| Jan 13, 2023 at 22:08 | answer | added | steeldriver | timeline score: 4 | |
| Jan 13, 2023 at 22:02 | comment | added | stacking and exchanging woohoo | how can I make it be evoked by watch instead of before it? | |
| Jan 13, 2023 at 21:59 | comment | added | steeldriver | It likely does run every interval - but it's producing the same value each time because the arithmetic expression is evaluated before watch is invoked | |
| Jan 13, 2023 at 21:49 | history | asked | stacking and exchanging woohoo | CC BY-SA 4.0 |