bash - Why does while [ 0 ] go into infinite loop? - Unix & Linux Stack ...

bash - Why does while [ 0 ] go into infinite loop? - Unix & Linux Stack ...

瀏覽:934
日期:2025-06-17
2013年10月22日 - Single square brackets in the shell is a synonym for test (either the separate command or the shell built-in), so [ 0 ] means the same thing as test ......看更多