I am writing a script and my script is required to work both on solaris AND Linux (OpenSuse)
The script simply goes in different directories and compares some files and outputs the difference between the files in a specific manner.
Right now, I am developing it on OpenSuse(linux). Are there some good tips on how I can write/edit the script so it works on both OS?
Thank you in advance
grep,find,date, for example, but often you can work around them, or install the GNU version (there's a package for that in Solaris), so you can use them the same way.