0
why do we need whiletrue as it leads to infinite looping
3 Respostas
+ 4
Sometimes you want that.
$ cat /dev/yes
y
y
y
............
When piped, it answers 'yes' to all questions until KeyboardInterrupt.
$ cat /dev/zero can use to zero a disk
...or just have an always-on monitoring loop to update a display, etc.
0
ohh yaa.. thank u Kirk
0
Like whan you play a game and it must continuesly calculating game physics , grafics...