OILS / doc / lib-osh.md View on Github | oilshell.org

44 lines, 26 significant
1---
2default_highlighter: oils-sh
3---
4
5OSH Standard Library - Based on Years of Experience
6===========
7
8## Intro
9
10### Example of Task File
11
12
13## List of Libraries
14
15### bash-strict
16
17Saves you some boilerplate.
18
19### two
20
21### no-quotes
22
23### byo-server
24
25- Test discovery
26- Probably:
27 - task discovery
28 - auto-completion
29
30### task-five
31
32Task files
33
34## Appendix
35
36### Why no standard way to set `$REPO_ROOT`?
37
38repo-root is left off because different people use different variants:
39
40 pwd -P
41 readlink -f $0
42
43There is not one way to do it when symlinks are involved. And most of our
44scripts must be run from root, and aren't symlinked.