~/talk

Overcoming the limitations of the POSIX shell command language

Talkat linux.conf.au 2021 · 2021-01-23..01-25· [shell-and-powershell]
links:none on file
slides:none on file

Implements function scope via stacked variable prefixes by saving/restoring variables with a depth counter and eval, fixes the install_many bug in the demo, and provides a module system with var/const/fn/module/use and generated aliases so functions see their module state. Import can load modules from local or GitHub by fetching and initialising scripts, but it only works reliably under strict POSIX shells (dash), is noticeably slow and unsigned, so it proves feasibility but trades performance and safety.

AI-written summary · about

  1. 0:00Start
  2. 0:26Overcoming the Limitations of Posex Shell Command Language
  3. 0:55Overcoming the Limitations of the Posix Command Shell
  4. 1:50The Posix Command Shell
  5. 2:40The Posix Command Shell Language
  6. 4:22Features
  7. 5:31Co-Distribution
  8. 6:28Global Variable Scope
  9. 7:38Install this Install File Function
  10. 8:02Install Menu Function
  11. 13:57Function Scope
  12. 17:46Modules
  13. 18:07What Is a Module
  14. 20:35Defining Variables and Constants in the Scope
  15. 21:12Posix Shell with Aliases
  16. 23:24Use Command
  17. 32:57Why Not Use Subshells Instead of Manually Creating a Scope Command
  18. 34:49Is the Scope Stack Always Safe in Case the Variables Contain Special Characters
  19. 36:13Recommend any Shell Check Utilities
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.