How to solve the Solaris awk problem
This article mainly introduces "how to solve the Solaris awk problem". In the daily operation, I believe that many people have doubts about how to solve the Solaris awk problem. The editor consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful for everyone to answer the doubt of "how to solve the Solaris awk problem"! Next, please follow the editor to study!
Describe
Awk: syntax error near line 1awk: bailing out near line 1
Cause
SunOS defaults to awk without rand, which is different from Linux awk
Solution
You can use the following two substitutes: nawk/usr/xpg4/bin/awk, the study on "how to solve the Solaris awk problem" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!