same awk script running on linux 7.2 and linux 10
if same script running on linux 7.2 then givin its output..
but if the script running on linux 10 giving parse error.. command to run the script is awk -f file_containg_prog inputfile |
The current version of Linux is 2.6 (www.kernel.org). I guess that you're talking about your distribution version, but you haven't said what your distribution is.
With this information, about all I can say is that there is a difference between the awk parser on each operating system. This probably means that there has been a change to the language and so you do have an actual parser error. Without seeing the script or error message, I cannot suggest what that error might be or how to fix it. |
Actually the gnu awk version is important.
Code:
awk --version |
All times are GMT -5. The time now is 12:10 PM. |