kaem.1 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. .\"Made with Love
  2. .TH kaem 1 "JULY 2019" Linux "User Manuals"
  3. .SH NAME
  4. kaem - Like running with scissors but shell scripts without a shell
  5. .SH SYNOPSIS
  6. kaem [--file FILE --strict --verbose --nightmare-mode]
  7. .SH DESCRIPTION
  8. kaem exists to be the most minimal shell needed in the bootstrap
  9. processes; that has the ability to function as an init
  10. thus allowing the bootstrap to occur with only itself and a
  11. hex0 assembler as the only binaries running on the system.
  12. .br
  13. At its core is read a line (except when the line is terminated
  14. with a '\\', when it is read the next line too) and then collect
  15. the arguments into an array, lookup the program in the path
  16. provided by the name or if not found in the ENVIRONMENT and
  17. then execute the program with the specified options.
  18. .br
  19. If no filename is passed, it then attempts to execute a file
  20. called kaem.run; which is the standard name for kaem scripts.
  21. If you wish for kaem to stop when one of the lines throws or
  22. returns an error code, simply add --strict. If you wish to
  23. see what is being executed, simply add --verbose. If you
  24. hate dealing with an environment and want to eliminate it
  25. entirely --nightmare-mode.
  26. .SH EXAMPLES
  27. Typically, kaem will be in running scripts used in bootstrapping
  28. .br
  29. # kaem --verbose --strict
  30. .br
  31. # kaem -f bootstrap.sh --nightmare-mode
  32. .br
  33. .SH COMPATIBILITY
  34. kaem is compatible with all Turing complete machines;
  35. even the ones that try to be Turing complete -1
  36. .SH AUTHORS
  37. Jeremiah Orians <Jeremiah@pdp10.guru>
  38. .SH COPYRIGHT
  39. Copyright 2016-2019 Jeremiah Orians <Jeremiah@pdp10.guru>
  40. .br
  41. License GPLv3+.
  42. .SH "SEE ALSO"
  43. M1(1), hex2(1), blood-elf(1), get_machine(1), syscalls(2)