Permalink
Browse files

Update the quick ref.

- builtins: alias, unalias, compgen (partial)
- modes: strict-word-eval (done), strict-var-eval (speculative)
- latest ideas about Oil
  - including all the compatibility shims like sh-expr
  • Loading branch information...
Andy Chu
Andy Chu committed Sep 6, 2018
1 parent 41055e7 commit 54004a6d2cf96f9c5d799ecadf0313ab7a51a5c0
Showing with 9 additions and 7 deletions.
  1. +9 −7 doc/osh-quick-ref-toc.txt
View
@@ -27,7 +27,7 @@ COMMAND LANGUAGE
OIL COMMAND LANGUAGE
X [Conditional] switch match if-expr (
X [Conditional] match-with match-case if-expr (
X [Iteration] for-expr ( while-expr (
X [Grouping] proc func lazy pure do { shell {
X [Context] with-cd with-redir with-env with-vars with-file
@@ -93,19 +93,20 @@ BUILTIN COMMANDS
[Run Code] source . eval trap
[Set Options] set shopt
[Working Dir] cd pwd pushd popd dirs
[Completion] complete X compgen X compopt
[Completion] complete compgen X compopt
[Shell Process] exec X logout
umask X ulimit X times
[Child Process] jobs wait ampersand &
X fg X bg X disown
[External] test [ X printf getopts X kill
[Introspection] help X hash type X caller
X [Word Lookup] command builtin
X [Interactive] alias unalias bind history fc
[Interactive] alias unalias X bind X history X fc
X [Unsupported] enable
OIL BUILTINS
[I/O] write readline sh-builtin sh-eval
[Compatibility] sh-builtin sh-eval sh-expr
[I/O] write readline
[External] dirname basename env ?
SHELL OPTIONS
@@ -114,8 +115,9 @@ SHELL OPTIONS
[Debugging] xtrace X verbose X extdebug
[Other] X noclobber
[Parsing] TODO
[OSH Strict] STRICT strict-array strict-control-flow
strict-errexit X strict-arith
[OSH Strict] STRICT strict-array X strict-arith
strict-errexit strict-control-flow X strict-scope
strict-word-eval strict-var-eval
[OSH Sane] SANE X sane-no-word-split X sane-glob
X sane-echo X sane-read X sane-eval X sane-trap
@@ -157,9 +159,9 @@ X [xargs] each
OIL LIBRARIES
X [Compatibility] shExpr() shEval()
X [Builtin Procs] log die
X [Builtin Funcs] join() split() strftime()
shEvalArith() shEvalWord()
X [getopts] ?
X [Testing] ?
X [Data Formats] json csv tsv2

0 comments on commit 54004a6

Please sign in to comment.