💾 Archived View for rawtext.club › ~s0kx › pure-sh-bible captured on 2022-06-11 at 20:39:37. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-11-30)

-=-=-=-=-=-=-

Pure sh bible

The goal of this book is to document commonly-known and lesser-known methods of doing various tasks using only built-in POSIX sh features. Using the snippets from this bible can help remove unneeded dependencies from scripts and in most cases make them faster.

1. Strings

2. Files

3. File paths

4. Loops

5. Variables

6. Escape sequences

7. Parameter expansion

8. Conditional expressions

9. Arithmetic operators

10. Arithmetic

11. Traps

12. Obsolete syntax

13. Internal and enviroment variables

14. Afterword from s0kx

This document is under the MIT license. See chapter 14 for more information.