Results 1 to 2 of 2
We are currently in process of migrating from Solaris t0 RedHat Linux. The scripting shell is ksh. Our scripts use the command print like print -u "Test" The output of ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-03-2008 #1
- Join Date
- Sep 2008
Problems in Migrating script from Solaris to Linux
The scripting shell is ksh.
Our scripts use the command print like
print -u "Test"
The output of scripts directed to some files.
In Solaris the output file gets created and has the output in it, but in Linux the output files gets created with 0 bytes and the output gets displayed at screen.
It works fine in Linux if we use "print-u1" instead of "print -u".
Could you suggest some way so that we do not have to change our shell scripts.
- 09-03-2008 #2
i have never used ksh but maybe you can alias print -u to print -u1.Linux and me it's a love story