1

Discrepencies in different environments (GNU/Linux and SUNOS)

view story
linux-howto

http://www.unix.com – Hello, I have a application that works on a server having SunOS environment. I have to implement it on a different server which has GNU/Linux. Now am facing issues with the shell scripts that are run in the process in the application. It is definitely because of the different flavours of Unix. For example, 1: nawk works in the SunOS but not in GNU/Linux - i had to convert all nawk operations to awk. 2: I also found that new-line char (\n) doesn't work in GNU/Linux and throws "Encountered symbol \ when expecting one of the following..." error. I had to make changes there too. I (HowTos)