Shell script arrays Syntax error: “(” unexpected | Sany's Linux and Open Source Blog

Shell script arrays Syntax error: “(” unexpected | Sany's Linux and Open Source Blog

瀏覽:1109
日期:2025-06-12
Recently when I am using arrays in a script I got the error message as "Shell script arrays Syntax error: "(" unexpected". $ sh arrays.sh #In arrays.sh script I defined some arrays trying to extract values form it The out put I got after running the scrip...看更多