Make bash script run on both Linux and Solaris -


i writing script , script required work both on solaris , linux (opensuse)

the script goes in different directories , compares files , outputs difference between files in specific manner.

right now, developing on opensuse(linux). there tips on how can write/edit script works on both os?

thank in advance

writing portable script easy or @ least should be, use commands specified posix standard , stick documented options , behavior.


Comments

Popular posts from this blog

c++ - CryptStringToBinary API behavior -

c++ - Correct method for redrawing a layered window -

java.util.scanner - How to read and add only numbers to array from a text file -