Portable scripting resources? - Printable Version +- nixers (https://nixers.net) +-- Forum: Development & Graphics (https://nixers.net/Forum-Development-Graphics) +--- Forum: Programming On Unix (https://nixers.net/Forum-Programming-On-Unix) +--- Thread: Portable scripting resources? (/Thread-Portable-scripting-resources) |
Portable scripting resources? - NetherOrb - 29-12-2017 Ive found https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Portable-Shell.html Its helpful. Just wondering if anyone else knows of any other sources to create portable shell scripts. RE: Portable scripting resources? - jkl - 29-12-2017 Read the POSIX documentation. RE: Portable scripting resources? - NetherOrb - 29-12-2017 That helps. For those interested in this solution: http://pubs.opengroup.org/onlinepubs/009695399/utilities/contents.html Also found this to be helpful...: https://wiki.ubuntu.com/DashAsBinSh#I_am_a_developer._How_can_I_avoid_this_problem_in_future.3F RE: Portable scripting resources? - venam - 30-12-2017 You can always run `shellcheck` on your scripts and fix them. https://www.shellcheck.net/ RE: Portable scripting resources? - apk - 31-12-2017 you can write it in c and let it beeeeeeeeeeeEEEEEEEEEEEEEEE RE: Portable scripting resources? - TeddyDD - 06-01-2018 This book seems to be valuable resource https://freebsdfrau.gitbooks.io/serious-shell-programming/ |