sh/README (523 bytes)
1 Portability considerations for shell scratchwork. 2 3 For the most part, these are utilities that can be dropped at the top line of 4 your script, or they show multiple portable options to do it by example. 5 6 POSIX 2008 https://pubs.opengroup.org/onlinepubs/9699919799/ 7 https://wiki.bash-hackers.org/scripting/nonportable 8 https://www.etalabs.net/sh_tricks.html 9 10 Editor hint (vim example): 11 gg -- goes to top of file. 12 o<ESC> -- inserts new line 13 :read /path/to/echo-noarg -- read in a portability function like echo-noarg 14 15 etc.