A bash script (or any other resolute computer program) can certainly behave exactly the same way each time it is run.
But does every TV (from a random sampling of TVs) respond to that bash script in the same way each time, or are there variations?